Tutorial 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...

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

Reference URL

Hot in Week

Popular

Archive

item