Database search in JavaScript with passed values

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44003
interpreted = N
texte = I am trying to dynamically fill a form full of text boxes using a search value selected from a drop-down list. How do I use the passed value from the drop-down in the WC search inside the JavaScript function? I have included the non-working function below:function fillForm(uID){ var cName; [search db=info.db&eqFIELD1data=uID] [founditems] cName = [name]; document.forms[0].elements[2].value=cName; [/founditems][/search] }Thanks in advance for your help! ____________________________________________________________ Watch a championship game with Elway or McGwire. Enter Now at http://champions.lycos.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. Re: Database search in JavaScript with passed values (Robert Wade 2002)
  2. Database search in JavaScript with passed values (Tim Postier 2002)
I am trying to dynamically fill a form full of text boxes using a search value selected from a drop-down list. How do I use the passed value from the drop-down in the WC search inside the JavaScript function? I have included the non-working function below:function fillForm(uID){ var cName; [search db=info.db&eqFIELD1data=uID] [founditems] cName = [name]; document.forms[0].elements[2].value=cName; [/founditems][/search] }Thanks in advance for your help! ____________________________________________________________ Watch a championship game with Elway or McGwire. Enter Now at http://champions.lycos.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/ Tim Postier

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:

WordBreak Qestion (1998) authenticate (2002) Problem with version 4 browsers (1998) no time stamp & different times from emailer (1998) WebMerchant 3.0 for Mac shipping now (1998) AW: AW: Credit card processing - UK (1997) Database Advice (1996) unable to launch acgi in WebCat (1997) Bug fix time lines ... (2000) Rhapsody? (1997) textarea text truncated by browser (2000) pdf files? (2001) Add to Cart & List of Products (1997) WebCat2b15MacPlugin - showing [math] (1997) Date problems (1997) WebCat2 - [include] tags (1997) Problems with WebCat (2000) 2nd WebCatalog2 Feature Request (1996) search for non-unique question (2001) WC Database Format (1997)