<select name="selOp" id="selOp" onchange="GetSelValue();">
<option selected value="a">a1</option>
<option value="b" >b2</option>
<option value="c" >c3</option>
<option value="d" >d4</option>
<option value="e" >e5</option>
</select>
<script language="javascript">
function GetSelValue() {
var objSel = document.getElementById("selOp");
//这是获取值
alert("当前值: " + objSel.value);
//这是获取文本
alert("当前文本: " + objSel.options(objSel.selectedIndex).text);
}
</script>