Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send ing Data

Status
Not open for further replies.

WJProctor

Programmer
Jun 20, 2003
151
0
0
GB
I want to send the data from an Select list to a javascript routine. But cant seem to do it. Im currently doing it like this.

<input type=button value=&quot;Go!!&quot; onClick=&quot;javascript:MenuOptions(Menu)&quot;>

where menu is the name of the <Select> tag. But all i get is it returning the value [object]. Can anyone help me out. Cheers

JP
 
Try replacing Menu with form.Menu where form is the name of your form.
 
Also, javascript is case sensitive; so make sure the name of the object being passed is the same case as the name of the select object.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top