<div onclick="foo()">
<button onlick="bar()"/>
</div>
If they click the button I want bar() to fire, if they click anywhere else in the div EXCEPT on the button I want foo() to fire. But what happens currently is if I click the button I get both events firing.
thanks