摘要: 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. var checkIn 阅读全文
posted @ 2014-01-09 11:24 梦你所梦 阅读(191) 评论(0) 推荐(0) 编辑