Prevents other listeners of the same event from being called.

Syntax

event.stopImmediatePropagation(); 

Notes

If several listeners are attached to the same element for the same event type, they are called in order in which they have been added. If during one such call, event.stopImmediatePropagation() is called, no remaining listeners will be called.

Specifications

Specification Status Comment
DOM
The definition of 'Event.stopImmediatePropagation()' in that specification.
Living Standard  

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support6 Yes109155
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support66 Yes10155 ?

Document Tags and Contributors

 Last updated by: fscholz,