Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: event handlers
08-27-2007, 04:43 PM #1
- Join Date
- Aug 2006
- Thanked 0 Times in 0 Posts
Here's my problem:
I have attached an event handler only to the nested div, but upon closer inspection I find the event to be propogating to the top div as well.
I have only one event handler for the nested div and I have cancelled bubbling using the e.stopPropogation() and e.cancelBubble.
How is my event handler being called for the top div even though I'm not asking it to? What have i missed here?
Thanks in advance!