Mega Code Archive

 
Categories / JavaScript Tutorial / JQuery
 

Stop only an event from bubbling by using the stopPropagation method

$("form").bind("submit",  function(event){   event.stopPropagation(); });