摘要: $(".checkAll").click(function(){ var check = $(this).prop("checked"); //父元素check返回的是true或者false,如果父元素被选中,则所有子元素也被选中 $(".childCheck").prop("checked",ch 阅读全文
posted @ 2017-11-22 17:34 张宇凡20 阅读(104) 评论(0) 推荐(0) 编辑