Fork me on GitHub
摘要: $(':input', '#form1') .not(':button, :submit, :reset, :hidden') .val('') .removeAttr('checked') .removeAttr('selected'); 炒鸡厉害的方法,好用请点赞~~ 阅读全文
posted @ 2017-12-05 20:26 思考的大腿 阅读(2312) 评论(0) 推荐(0) 编辑
摘要: 语法解释:1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发2. var checkText=$("#select_id").find("option:selected").text(); //获取Se 阅读全文
posted @ 2017-12-05 10:25 思考的大腿 阅读(204) 评论(0) 推荐(0) 编辑