同步选中所有checkbox

$("input[type=checkbox][tag=ckAll]").change(function () $(this).parent().parent().siblings().find("input[type=checkbox]").attr("checked",$(this).is(":checked"));});

  

posted @ 2019-12-27 14:47  周董御用  阅读(253)  评论(0)    收藏  举报