I have a setup like this:
<div id="container">
<div id="close">Close</div>
</div>
Then in my jquery I have this:
$("#container").live("click",function(){
changeTabs();
});
$("#close").live("click", function(){
closeTabs();
});
The problem with that is that when you click the close div it fires both events. I am guessing it is because the second div overlays the first one. So how can I cancel or stop the first event from firing?