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:

Coding Standards - are there any ? (2003) F3 crashing server (1997) [Webcat 2]Next (1997) Netiquette: how to get the most out of this list (1999) How do you TEAM Code? (2004) too many nested ... problem (1997) No data - More Info (1997) [WebDNA] 6.2 Monitor (2012) RE: Shopping Cart Questions (1998) Pithy questions on webcommerce & siteedit (1997) Re:multiple digests, please stop (1997) MacAuthorize order data fields WAS:How To question... (1997) attachment (2000) WebCat and PDF (2000) Leap Day Triggers? -confirmation- (2000) Looking for a Quick Solution. (1999) Navigator 4.01 (1997) access denied problem (1997) Email (1998) Summing fields (1997)