摘要: 一 、Select jQuery获取Select选择的Text和Value: 1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发 2. var checkText=$("#select_id").find("option:selected").text(); //获取Select选择的Text 3. var checkValue=$("#select_id").val(); //获取Select选择的Value 4. 阅读全文
posted @ 2013-11-15 15:05 唐学阳 阅读(213) 评论(0) 推荐(0) 编辑