jQuery Reminders

1/25/2013 11:43:58 AM

Reminders for simple jQuery functions.

//determine if a checkbox is checked
$('#chkBox').is(':checked');

//set checkbox checked value - jQuery 1.6+
$('#chkBox').prop('checked', true);
$('#chkBox').prop('checked', false);