摘要: 原文地址:http://blog.chinaunix.net/u3/111819/showart_2197944.htmljQuery获取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选 阅读全文
posted @ 2011-01-14 15:02 风飘零 阅读(295) 评论(0) 推荐(0) 编辑