Re: JavaScript question

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38718
interpreted = N
texte = On 9/19/01 10:57 AM, Anup Setty wrote:> 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 site1 > > function formHandler1(form){ > var URL = > document.form.site1.options[document.form.site1.selectedIndex].value; > : > : > > > and name your Select as site1 > There must be a more elegant solution than that, no?? Such as what I suggested - passing the value of site to the function.- 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/ 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)
On 9/19/01 10:57 AM, Anup Setty wrote:> 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 site1 > > function formHandler1(form){ > var URL = > document.form.site1.options[document.form.site1.selectedIndex].value; > : > : > > > and name your Select as site1 > There must be a more elegant solution than that, no?? Such as what I suggested - passing the value of site to the function.- 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/ Charles Kline

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:

Date on ViewOrders.tpl (1998) taxrate - off by 1 cent (1997) admin login weirdness (2000) sort problems....bug or brain fart? (1997) Download capabilities (1997) [INCLUDE] Limitations (1998) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) [Capitalize] (1998) Memory Leak (2000) Simple counter - how? (1997) Targeting [redirect] to a frame? (1998) Windows nt service pack 3 upgrade (1997) Frames and WebCat (1997) Summing fields (1997) PIXO (1997) 2.1b3 --> way slow (1997) Extended [ConvertChars] (1997) Nested tags count question (1997) can webcat determine an image's pixel dimensions? (2000) Re:quit command on NT (1997)