Javascript Event Bubbling Not Working As Expected

Posted by Dean Bayley on Stack Overflow See other posts from Stack Overflow or by Dean Bayley
Published on 2010-05-19T13:13:00Z Indexed on 2010/05/19 13:20 UTC
Read the original article Hit count: 348

Hi Guys,

Having a nightmare trying to figure out event Bubbling..

Example here: link text

From what i understand clicking in the area inside the red border should trigger all 3 event handlers (red, blue & body), only red and body are triggered..

I have tried altering the third value of addEventListener and changing the return values but to no avail, any ideas?

D.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about javascript-events