Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

count number of checkboxes in html jquery

var numberOfChecked = $('input:checkbox:checked').length;
var totalCheckboxes = $('input:checkbox').length;
var numberNotChecked = totalCheckboxes - numberOfChecked;
 
PREVIOUS NEXT
Tagged: #count #number #checkboxes #html #jquery
ADD COMMENT
Topic
Name
9+4 =