jq勾选

1、取消勾选

$("box").attr("checked", false);

2、勾选
$("kbox").attr("checked", true);

  判断勾选

 

 if ($('#hotCarsThree').prop("checked") == true) {
      //勾选了
    }

  

posted @ 2019-09-12 14:31  前端邢晋宇  阅读(240)  评论(0编辑  收藏  举报