Most events bubble in all browsers. However, I know that in Internet Explorer "submit" events do not bubble. What are the other events that do not bubble?
stopPropagation() Description: This method prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event.
To stop the bubbling and prevent handlers on the current element from running, there's a method event. stopImmediatePropagation() . After it no other handlers execute.
In modern browsers, by default, all event handlers are registered for the bubbling phase. So in our current example, when you click the video, the event bubbles from the <video> element outwards to the <html> element.
load
unload
scroll
(except that a scroll event on document must bubble to the window)focus
blur
DOMNodeRemovedFromDocument
DOMNodeInsertedIntoDocument
loadstart
progress
error
abort
load
loadend
From: https://en.wikipedia.org/wiki/DOM_events#Events
Any events specific to one element do not bubble: focus, blur, load, unload, change, reset, scroll, most of the DOM events (DOMFocusIn, DOMFocusOut, DOMNodeRemoved, etc), mouseenter, mouseleave, etc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With