2017年2月15日

关于JQ判断单选复选被选中

摘要: radio单选的判断 $("input[type='radio']").click(function () { if ($(this).is(":checked")) { //做什么 } }); checkbox复选框的判断 $("input[type='checkbox']").click(function () { if ($(this).is("... 阅读全文

posted @ 2017-02-15 15:13 水好凉 阅读(154) 评论(0) 推荐(0) 编辑

导航