摘要: 转自: http://blog.sina.com.cn/s/blog_475429950100ia5o.htmljQuery获取Select选择的Text和Value: 语法解释:1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发2. var checkText=$("#select_id").find("option:selected").text(); //获取Select选择的Text3. var checkValue=$(&quo 阅读全文
posted @ 2011-11-25 17:17 wjn2010 阅读(366) 评论(0) 推荐(0) 编辑