×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Massimo Zappino
Added: Jul 4, 2012 1:18 PM
Modified: Aug 11, 2017 2:35 PM
Views: 44
http://api.jquery.com/event.stopPropagation/
  1. $("p").click(function(event){
  2.   event.stopPropagation();
  3.   // do something
  4. });