2010年6月24日

JQuery对html控件操作总结

摘要: 语法解释:1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发2. var checkText=$("#select_id").find("option:selected").text();//获取Select选择的Text3. var checkValue=$("#select_id").val();... 阅读全文

posted @ 2010-06-24 16:06 神奇木马 阅读(784) 评论(1) 推荐(3)

导航