2011年7月28日
摘要: 1. $("#select_id").change(function(){... }); //为select添加事件,当选择其中一项时触发2. $("#select_id").find("option:selected").text();//获取select选中的Text3. $("#select_id").val();//获取Select选中的Value4. $("#select_id ").get(0).selectedIndex;//获取Select选中的索引值5. $("#se 阅读全文
posted @ 2011-07-28 11:24 Ruthless 阅读(13158) 评论(0) 推荐(2)