Check if Checkbox is Checked

Submitted by:James Anderson

Date added:13 February, 2011

Category:jQuery

Check if Checkbox is Checked

Tags: check checkbox , find checkbox , jquery checkbox

Code Snippet:

//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');
 
 

Comments