1、取消勾选
$("box").attr("checked", false);
2、勾选
$("kbox").attr("checked", true);
判断勾选
if ($('#hotCarsThree').prop("checked") == true) {
//勾选了
}
1、取消勾选
$("box").attr("checked", false);
2、勾选
$("kbox").attr("checked", true);
判断勾选
if ($('#hotCarsThree').prop("checked") == true) {
//勾选了
}
转载于:https://www.cnblogs.com/autoXingJY/p/11511757.html