Re: JavaScript question

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38715
interpreted = N
texte = If you want to have multiple instances of this form action on the same page, all you have to do is repeat the same code as many times as you want, and change site to whatever you want it to be named as, say site1function formHandler1(form){ var URL = document.form.site1.options[document.form.site1.selectedIndex].value; : : and name your Select as site1hthanup setty ----- Original Message ----- From: Charles Kline To: WebCatalog Talk Sent: Wednesday, September 19, 2001 10:53 AM Subject: OT: JavaScript question > I have this script which I got off some scripts site. It is a pop-up menu > that automatically takes you to the URL specified in the option tag of the > menu. I want to make a change to this code so that I can use it for MULTIPLE > pop-up menu's on the same page. At this point, to get it to work the select > must be named 'site'. How do I change this to have that part of the script > be passed from the pop-up so that it is a more 'generic' function? > > Thanks for any help, > Charles > > > > > > > > >
>
> >
>
> > > > ------------------------------------------------------------- > 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://search.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. OT: JavaScript Question (well... Using WebCat with it too) (Charles Kline 2001)
  2. Re: OT: JavaScript question (Charles Kline 2001)
  3. Re: JavaScript question (Charles Kline 2001)
  4. Re: JavaScript question (Anup Setty 2001)
  5. Re: OT: JavaScript question (Christer Olsson 2001)
  6. Re: JavaScript question (Anup Setty 2001)
  7. OT: JavaScript question (Charles Kline 2001)
  8. Re: OT: JavaScript question (Sam Lewis 2001)
  9. Re: OT: JavaScript question (Charles Kline 2001)
  10. Re: OT: JavaScript question (Charles Kline 2001)
  11. Re: OT: JavaScript question (Sam Lewis 2001)
  12. Re: OT: JavaScript question (Charles Kline 2001)
  13. Re: OT: JavaScript question (Clint Davis 2001)
  14. Re: OT: JavaScript question (Charles Kline 2001)
  15. Re: OT: JavaScript question (Sam Lewis 2001)
  16. OT: JavaScript question (Charles Kline 2001)
  17. Re: OT JavaScript question (Josh Tiger 1999)
  18. Re: OT JavaScript question (The Mooseman 1999)
  19. OT JavaScript question (elive talklists 1999)
If you want to have multiple instances of this form action on the same page, all you have to do is repeat the same code as many times as you want, and change site to whatever you want it to be named as, say site1function formHandler1(form){ var URL = document.form.site1.options[document.form.site1.selectedIndex].value; : : and name your Select as site1hthanup setty ----- Original Message ----- From: Charles Kline To: WebCatalog Talk Sent: Wednesday, September 19, 2001 10:53 AM Subject: OT: JavaScript question > I have this script which I got off some scripts site. It is a pop-up menu > that automatically takes you to the URL specified in the option tag of the > menu. I want to make a change to this code so that I can use it for MULTIPLE > pop-up menu's on the same page. At this point, to get it to work the select > must be named 'site'. How do I change this to have that part of the script > be passed from the pop-up so that it is a more 'generic' function? > > Thanks for any help, > Charles > > > > > > > > >
>
> >
>
> > > > ------------------------------------------------------------- > 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://search.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://search.smithmicro.com/ Anup Setty

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:

Still Stumped on ShowNext...HELP! (1997) WebMerchant/Macauthorize Suggestions? (1997) Safari browser and WebDNA set-cookies (2003) ShowIf inside formulas (1997) Searching (second post) (1999) Robert Minor duplicate mail (1997) emailer (1997) errormessages.db (1997) purchase plugin (1996) access denied problem (1997) [UPPERCASE] (1997) [WebDNA] [WSC] WebDNA Development Summit (2014) WebMerchant setup (1998) PIXO (1997) how to check for no value while using [URL] to prevent cr (1999) no time stamp & different times from emailer (1998) caching -check- (2001) WebCatalog for Dummies part 2 (2000) Configuring E-mail (1997) WebCat2b13MacPlugIn - [include] (1997)