jQuery常用话语

jQuery常用语句1、jQuery获取select下被option选中的id值$(select option:selected).attr(id)$(selec

jQuery常用语句
1、jQuery获取select下被option选中的id值
   

$("select option:selected").attr("id");$("select option:selected").val();