Javascript Event Bubbling Not Working As Expected
- by Dean Bayley
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.