×

Welcome to TagMyCode

Please login or create account to add a snippet.
1
0
 
0
Language: Javascript
Posted by: Jing Tai Piao
Added: Sep 3, 2012 6:34 AM
Views: 21
Tags: no tags
click parent element but not child
  1. $(SELECTOR).unbind().bind('click',function(e){
  2. if(e.target.id == "elementID"){return;}