首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

Jquery获取Select上标

2012-08-29 
Jquery获取Select下标$(select#idOfElement).attr(selectedIndex) $(#idOfElement).attr(selectedI

Jquery获取Select下标

$("select#idOfElement").attr("selectedIndex") $("#idOfElement").attr("selectedIndex") var selectedIndex = $('option:selected', '#selectID').index();

热点排行