Saturday, July 30, 2005

checking the value of a HTML combo box

Example

 


<form name="testform">

<select name="tom"><option value="http://www.google.co.uk">Google</option></select>

</form>


Check this variable;


testformtom.options[testform.tom.selectedIndex].value

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home