jquery check if all checkbox are checked code example
Example: jquery check if all checkbox is not checked
$('#checkAll').click(function () {
$('input:checkbox').prop('checked', this.checked);
});
$('#checkAll').click(function () {
$('input:checkbox').prop('checked', this.checked);
});