$('#myCheckbox').on('click', function() { if ($(this).prop('checked')) { console.log('Checkbox is checked.'); } else { console.log('Checkbox is unchecked.'); } });