how to check if more than one checkbox is checked?
We will write a function that runs whenever a user clicks a checkbox to count the number of checkboxes that are checked: $('#checkbox_outer input'). change(function() { if ($("#checkbox_outer input:checkbox:checked"). length === 1) { console.