$("p").click(function(event){   event.stopPropagation();   // do something });