javascript thread: RE: Retrieving selectedIndex value from SELECT t-ag i-n Netscape
<select name="name_list">
<option value="Jacek">Jack
<option value="Harry">Harry
<option value="Thomas">Thomas
</select>
this is the quickest method:
alert("Name=" +
document.form_names.name_list.options[selectedIndex].value);
I hope it works! ".text" is used in vbscript and not in javascript!
|





