html代码:
<select id="myid"> <option value ="1">one</option> <option value ="2">two</option> <option value="3">three</option> <option value="4">four</option> </select>
js代码:
var myId = $("#myid").val(); // 获取select value值 var myIdName = $("#myid option:checked").text(); // 获取select 显示值