使用jquery获取select选中的值
$("#select").val();
使用jquery获取select选中的文本
$("#select").find("option:selected").text();
使用jquery获取select选中项的索引
$("#select").get(0).selectedindex;
或
$("#select")[0].selectedindex;
画航听雨眠 博主文章分类: javascript 版权
文章分类 前端 阅读数330
$("#select").val();
$("#select").find("option:selected").text();
$("#select").get(0).selectedindex;
或
$("#select")[0].selectedindex;