Re: search function

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62329
interpreted = N
texte = You can do it seamlessly with frames or IFRAMES. The onChange JavaScript calls a WebDNA page inside an IFRAME. WebDNA does its processing and the result page (still inside the IFRAME) calls a JavaScript that updates the parent page's fields. And with an IFRAME you can place it anywhere in the page and have a width & height of 1pixel, and of any background so its pretty much hidden. No need to reload the main page at all, which is helpful if its big in file size. -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Erol Guneri Sent: Thursday, 23 June 2005 6:40 AM To: WebDNA Talk Subject: Re: search function Hi Jared, Here is the code I used. I hope this helps you. This is the code for the head This is the code for the drop down menus: [!] create drop down list of publishers [/!]
 
Select CD
Erol ----- Original Message ----- From: "Jared_Derringer" To: "WebDNA Talk" Sent: Wednesday, June 22, 2005 9:14 PM Subject: Re: search function > is there a webdna equivalent to the html "on change" or "on select" > command > that I can use? > > if not, do you have a java script that I could use as a model? > > Jared > > -----Original Message----- > From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of > Erol Guneri > Sent: Wednesday, June 22, 2005 3:26 AM > To: WebDNA Talk > Subject: Re: search function > > > I have done this before using a javascript that recalls the page when the > first field is selected. It all depends on how quickly the page loads. > > Erol > > ----- Original Message ----- > From: "Gary Krockover" > To: "WebDNA Talk" > Sent: Wednesday, June 22, 2005 9:23 AM > Subject: Re: search function > > >> If I'm reading you correctly.... >> >> You'll need client side programming to do the auto-populating (i.e., >> javascript). The problem here is that when the page is displayed, it >> first does all the server-side functions (i.e., the WebDNA). *After* the >> page is loaded into the client's browser, *then* any javascript is >> processed. Thus, it can't go back and look up WebDNA (server-side) stuff >> *unless* you reload the page, thus the search button. >> >> Maybe somebody has a suggestion - I know that Flash has been used with >> WebDNA in this manner. >> >> GJK >> >> >> At 08:22 PM 6/21/2005, you wrote: >>>I've inherited a WebDNA driven website and have no experience with it. >>> >>>I have a page with three fields, the first is a drop-down list and the >>>other >>>two fields display values linked to what's selected in the first field. >>>All >>>these values are stored in a webdna db table. Currently the user makes a >>>selection in the first field and then clicks the search button to get the >>>correct values in the next two fields. I want them to choose a value in >>>the >>>first field and have the other two fields populated automaticaly; thus >>>eliminating the search button. >>> >>>The code is pasted below, any suggestions are appreciated, >>> >>>Jared >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: search function ( "Rajeev Kumar" 2005)
  2. Re: search function ( Terry Wilson 2005)
  3. Re: search function ( "Jared_Derringer" 2005)
  4. Re: search function ( "Erol Guneri" 2005)
  5. Re: search function ( "Jared_Derringer" 2005)
  6. Re: search function ( "Erol Guneri" 2005)
  7. Re: search function ( Gary Krockover 2005)
  8. search function ( "Jared_Derringer" 2005)
  9. Re: Distinct search function (Erol Guneri 2002)
  10. Re: Distinct search function (Gary Krockover 2002)
  11. Distinct search function (Erol Guneri 2002)
You can do it seamlessly with frames or IFRAMES. The onChange JavaScript calls a WebDNA page inside an IFRAME. WebDNA does its processing and the result page (still inside the IFRAME) calls a JavaScript that updates the parent page's fields. And with an IFRAME you can place it anywhere in the page and have a width & height of 1pixel, and of any background so its pretty much hidden. No need to reload the main page at all, which is helpful if its big in file size. -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Erol Guneri Sent: Thursday, 23 June 2005 6:40 AM To: WebDNA Talk Subject: Re: search function Hi Jared, Here is the code I used. I hope this helps you. This is the code for the head This is the code for the drop down menus: [!] create drop down list of publishers [/!]
 
Select CD
Erol ----- Original Message ----- From: "Jared_Derringer" To: "WebDNA Talk" Sent: Wednesday, June 22, 2005 9:14 PM Subject: Re: search function > is there a webdna equivalent to the html "on change" or "on select" > command > that I can use? > > if not, do you have a java script that I could use as a model? > > Jared > > -----Original Message----- > From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of > Erol Guneri > Sent: Wednesday, June 22, 2005 3:26 AM > To: WebDNA Talk > Subject: Re: search function > > > I have done this before using a javascript that recalls the page when the > first field is selected. It all depends on how quickly the page loads. > > Erol > > ----- Original Message ----- > From: "Gary Krockover" > To: "WebDNA Talk" > Sent: Wednesday, June 22, 2005 9:23 AM > Subject: Re: search function > > >> If I'm reading you correctly.... >> >> You'll need client side programming to do the auto-populating (i.e., >> javascript). The problem here is that when the page is displayed, it >> first does all the server-side functions (i.e., the WebDNA). *After* the >> page is loaded into the client's browser, *then* any javascript is >> processed. Thus, it can't go back and look up WebDNA (server-side) stuff >> *unless* you reload the page, thus the search button. >> >> Maybe somebody has a suggestion - I know that Flash has been used with >> WebDNA in this manner. >> >> GJK >> >> >> At 08:22 PM 6/21/2005, you wrote: >>>I've inherited a WebDNA driven website and have no experience with it. >>> >>>I have a page with three fields, the first is a drop-down list and the >>>other >>>two fields display values linked to what's selected in the first field. >>>All >>>these values are stored in a webdna db table. Currently the user makes a >>>selection in the first field and then clicks the search button to get the >>>correct values in the next two fields. I want them to choose a value in >>>the >>>first field and have the other two fields populated automaticaly; thus >>>eliminating the search button. >>> >>>The code is pasted below, any suggestions are appreciated, >>> >>>Jared >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> > > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "Rajeev Kumar"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Generating Report Totals (1997) [replaceChars] would be nice ... (1997) New Version (2005) WebCat2 - Getting to the browser's username/password data (1997) Formating found categories (1997) Beta 18 (1997) FYI: virus alert (1996) Stop the madness. (1997) Re:Emailer and encryption (1997) WebCatalog-NT?'s (1996) Looking for 5 to 12 shops with 3 URLs & statements (1997) Security (1998) I have observed and I am gone. (1998) Question re: FlushDatabases (1997) Virtual hosting and webcatNT (1997) Username for Admin Group (1997) HELP WITH DATES (1997) search comparison problem (2000) [WebDNA] A new popuated field to a DB with 700.000 records (2009) checksum for credit cards? (1997)