Skip to main content
Home / Code Snippets / jQuery Code Snippets / Check if Checkbox is Checked

Check if Checkbox is Checked

Say that 10 times fast =).

Find out if a single checkbox is checked or not, returns true or false:

$('#checkBox').attr('checked');

Find all checked checkboxes:

$('input[type=checkbox]:checked');