Try using the stopPropagation method of the Event object.
$('input').click(function(event) {
event.stopPropagation();
});
You can also target specific children (or direct children) liusing a combination of selectors:
$('li > input, li strong, li span').click( ... );
source
share