numero = 62329
interpreted = N
texte = You can do it seamlessly with frames or IFRAMES.The onChange JavaScript calls a WebDNA page inside an IFRAME. WebDNAdoes its processing and the result page (still inside the IFRAME) callsa JavaScript that updates the parent page's fields. And with an IFRAMEyou can place it anywhere in the page and have a width & height of1pixel, and of any background so its pretty much hidden. No need toreload 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 OfErol GuneriSent: Thursday, 23 June 2005 6:40 AMTo: WebDNA TalkSubject: Re: search functionHi Jared,Here is the code I used. I hope this helps you.This is the code for the headThis 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 PMSubject: 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 whenthe> first field is selected. It all depends on how quickly the pageloads.>> 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 usedwith>> 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 withit.>>>>>>I have a page with three fields, the first is a drop-down list andthe>>>other>>>two fields display values linked to what's selected in the firstfield.>>>All>>>these values are stored in a webdna db table. Currently the usermakes a>>>selection in the first field and then clicks the search button to getthe>>>correct values in the next two fields. I want them to choose a valuein>>>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 toWeb 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:
You can do it seamlessly with frames or IFRAMES.The onChange JavaScript calls a WebDNA page inside an IFRAME. WebDNAdoes its processing and the result page (still inside the IFRAME) callsa JavaScript that updates the parent page's fields. And with an IFRAMEyou can place it anywhere in the page and have a width & height of1pixel, and of any background so its pretty much hidden. No need toreload 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 OfErol GuneriSent: Thursday, 23 June 2005 6:40 AMTo: WebDNA TalkSubject: Re: search functionHi Jared,Here is the code I used. I hope this helps you.This is the code for the headThis 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 PMSubject: 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 whenthe> first field is selected. It all depends on how quickly the pageloads.>> 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 usedwith>> 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 withit.>>>>>>I have a page with three fields, the first is a drop-down list andthe>>>other>>>two fields display values linked to what's selected in the firstfield.>>>All>>>these values are stored in a webdna db table. Currently the usermakes a>>>selection in the first field and then clicks the search button to getthe>>>correct values in the next two fields. I want them to choose a valuein>>>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 toWeb 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"
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...