×

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
Views: 37
http://api.jquery.com/event.stopPropagation/
  1. $("p").click(function(event){
  2.   event.stopPropagation();
  3.   // do something
  4. });