|
bind .click() to container excluding child elements
Hi,
I have a container which has a .click() event handler bound to it. The problem is that the .click() function is also being called when I click on child elements within the container. How do I stop the click event from propagating up past child elements?
Thank you.
Edit: Sorry found the solution, event stopPropagation();
Last edited by AmmarIdris88; 11-26-2011 at 04:43 PM..
|