使用jQuery获取select中选中的option:
<select onclick="fun()">
<option value="fist">1</option>
<option value="second">2</option>
<option value="third">3</option>
<option value="four">4</option>
<option value="five">5</option>
</select>
<button type="button" onclick="fun()">option</button>
function fun() {
//获取select选中的value
$('select').find('option:selected').val();
//获取select选中的文本
$('select').find('option:selected').text();
//以下一行是错误的
var options= $("select option[selected='selected']");
//以下一行是正确的
var options= $("select option:selected");
console.log(options)
}