I am trying to set a click event on a div, and I would like this event to fire if that div is clicked anywhere other than the checkbox in the div. If this check box is clicked, I do not want the event to be fired with a mouse click. I set the click event of the checkbox and returns false, which stops the click event of the div, but does not allow the checkbox to be checked as well. Here is what I have now:
$('.theDiv').click(function() {
source share