摘要: Query获取Select选择的Text和Value:语法解释:1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发2. var checkText=$("#select_id").find("option:selected").text(); //获取Select选择的Text3. var checkValue=$("#select_id").val(); //获取Select选择的Value4. var checkI 阅读全文
posted @ 2013-02-19 11:15 电脑客 阅读(195) 评论(0) 推荐(0)