You are here: irt.org | FAQ | JavaScript | Form | 3.4 | Q418 [ previous next ]
Try:
<script language="JavaScript"><!-- var result = null; //--></script> <form> <select onChange="result = this[this.selectedIndex].value"> <option VALUE="1">One <option VALUE="2">Two </select> </form>