摘要: $('#testSelect option:selected').text();//选中的文本 $('#testSelect option:selected').val();//选中的值 $("#testSelect ").get(0).selectedIndex;//索引 默认选中状态:<opti 阅读全文
posted @ 2017-05-19 19:16 惊沙男孩 阅读(897) 评论(0) 推荐(0)