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:

select multiple (1997) questions on variations of Ken's [text multi=T]var1=&var2=[/text] (1999) RE: creating writefile data from a nested search (1997) Server capacity (2003) [WebDNA] Shopping cart code debug (2009) RequiredFields notes ... (1997) Laying an egg. (1998) Search results templates (1996) Shopping Cart Problem (1998) Need correct syntax for writing to header2 (1999) problems with 2 tags (1997) Webcat 2.0.1 date math bug -> Crash! (1997) WebCat2b13MacPlugIn - [include] (1997) RE: Emailer Set Up (1997) Secure Server (1999) Warning: Mac OS X 10.2.4 Update Overwrites Apache's httpd.conf (2003) Field names beginning with Reg.. (2002) Search bug. Help (2002) [format xs] freeze (1997) WebCatalog/WebMerchant 2.1 (1998)