find all unchecked checkbox in jquery

后端 未结 8 1239
情歌与酒
情歌与酒 2020-12-04 06:27

I have a list of checkboxes:




        
8条回答
  •  一整个雨季
    2020-12-04 07:20

    Also it can be achieved with pure js in such a way:

    var matches = document.querySelectorAll('input[type="checkbox"]:not(:checked)');
    

提交回复
热议问题