使用jquery全选和反选多选框
$('.ck').each(function(){
if($(this).is(':checked')){
$(this).removeAttr("checked");
}else{
$(this).prop("checked",true);
}
});
使用jquery全选和反选多选框
$('.ck').each(function(){
if($(this).is(':checked')){
$(this).removeAttr("checked");
}else{
$(this).prop("checked",true);
}
});