Kill the bubbling on the click event (use stopPropagation)
$( "p" ).click(function( event ) { event.stopPropagation(); // Do something });