Bubbling effect
From Fxp Wiki
To override the bubbling effect and catch event from the lower div when multiple divs are one inside another
<div id="1" onclick="alert((event.srcElement||event.target.parentNode).id)">
<div id="2">
<div id="3">
hello world!
</div>
</div>
</div>
Credits
- Gosha Bine for his tip on comp.lang.javascript
