$("#selectAll").click(function() {
if ($("input[name='inputContent']").prop("checked") == false) {
$("input[name='inputContent']").removeProp("checked");
} else {
$("input[name='inputContent']").prop("checked", true);
}
});
jQuery全选、取消全选
最新推荐文章于 2023-03-01 11:06:28 发布