Answers for "jquery number of selected checkboxes"

2

count number of checkboxes in html jquery

var numberOfChecked = $('input:checkbox:checked').length;
var totalCheckboxes = $('input:checkbox').length;
var numberNotChecked = totalCheckboxes - numberOfChecked;
Posted by: Guest on July-27-2020

Code answers related to "jquery number of selected checkboxes"

Code answers related to "Javascript"

Browse Popular Code Answers by Language