Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- how pass option values to JS routine?
- Geoff Cox
November 18, 2007, 3:16 pm
rate this thread
The code below is an attempt to get an option value, word1 or word2,
<p><input type="hidden" id="txtdef" value="" /></p>
<option value="word2">word2</option> etc
<p><input type="button" value="Get definition" onclick="requestInfo()"
I am no doubt missing something obvious!?
Re: how pass option values to JS routine?
OK, but who will report the current selection to the function? ;-)