Re: JavaScript question

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38717
interpreted = N
texte = I would do this without using JavaSript, just using webcat, onChange submit the form to a redirect page and use the selected value to redirect the page.Anup Setty----- Original Message ----- From: Charles Kline To: WebCatalog Talk Sent: Wednesday, September 19, 2001 11:14 AM Subject: Re: JavaScript question > 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/ ------------------------------------------------------------- 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)
I would do this without using JavaSript, just using webcat, onChange submit the form to a redirect page and use the selected value to redirect the page.Anup Setty----- Original Message ----- From: Charles Kline To: WebCatalog Talk Sent: Wednesday, September 19, 2001 11:14 AM Subject: Re: JavaScript question > 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/ ------------------------------------------------------------- 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:

[WebDNA] [announce] CICADA Gold Products (2009) WebCat2 beta FTP site (1997) Moving Files (2000) Multiple edits/replacementsd to db. Possible? (1997) syntax question, not in online refernce (1997) WCS Newbie question (1997) [search] in formulas.db (1997) WebCatalog Upgrade Pricing? (1997) Date problems-more (1997) WebCatalog2 for NT Beta Request (1997) Bannerad Demo (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) I'm new be kind (1997) nude virgin confusion?? (2004) Using Applescript to process WebCatalog functions (1998) Searching multiple fields from one form field (1997) Showif Context combined with Search (1997) WebCatalog Technical Reference (1997) WebDNA Developer Resource Center (2002) Search/sort in URL Was: GuestBook example (1997)