<select name="opt" onchange="test()">
<option value="1">111
<option value="2">222
<option value="3">333
<option value="4">444
<option value="5">555
<option value="6">666
<option value="7">777
</select>
<SCRIPT LANGUAGE="JavaScript">
<!--
function test(){
alert(document.all.opt.options[document.all.opt.selectedIndex].innerText);
alert(document.all.opt.options[document.all.opt.selectedIndex].value );
}
//-->
</SCRIPT>
获得select的option值
