Code: Select all
<div onclick="alert('Outer div clicked');">
<div onclick="alert('Inner div clicked');">
</div>
</div>Question: How do I stop the event bubbling in browsers other than IE? I've seen it done with IE some time in the past but I know that code was IE-specific. Anybody know how to burst the bubble and just have the inner alert be shown?