$("#checkAll").on("click", function () {
if($(this).prop('checked')){
$("input[name='checkList']").prop("checked",$(this).prop("checked"));
}else{
$("input[name='checkList").prop("checked",false);
}
});
checkbox can only be checked once a problem
Guess you like
Origin www.cnblogs.com/duanqiao123/p/12153486.html
Ranking