摘要: 一 、SelectjQuery获取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. v 阅读全文
posted @ 2013-01-16 14:49 程序有Bug 阅读(364) 评论(0) 推荐(0) 编辑