<body>
<div class="box">
<select id="sel">
<option value="">我是一号</option>
<option value="">我是二号</option>
<option value="">我是三号</option>
<option value="">我是四号</option>
</select>
</div>
<script src="./jquery.min.js"></script>
<script>
sel.onchange = function () {
console.log(this.selectedIndex)//获取每个option下标
console.log(this.options[this.selectedIndex].innerText)//获取每个option文本值 //下面是jQuery获取下拉菜单文本框的值
console.log($("#sel option:selected").text())
} </script>
</body>