$(SELECTOR).unbind().bind('click',function(e){ if(e.target.id == "elementID"){return;}