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:

creator code (1997) Listwords and the & (2001) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) WCf2 and nested tags (1997) AppleScript: Tell application:app location? (1998) WCS Newbie question (1997) ShowNext truncating passed variable?? (1997) searching more then one (1999) Database Path (1998) listfields question (2005) tcpconnect/tcpsend frustrations (2002) test (2004) WC2b15 File Corruption (1997) Webcat bannersleuth Qs (2001) Not really WebCat (1997) international time (1997) What file? (1997) Multiple Merchant Accounts? (1997) any idea (2004) Sending HTML messages with [sendmail] (2002)