jQuery获取Select选择的Text和Value
原文地址:http://blog.chinaunix.net/u3/111819/showart_2197944.html<br /><br />jQuery获取Select选择的Text和Value:<br />语法解释:<br />1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发<br />2. var checkText=$("#select_id").find("option:selected")
转载
2011-05-13 11:17:00 ·
276 阅读 ·
0 评论