/

HTML / CSS / JavaScript Tutorial

JavaScript DOM Event method: stopImmediatePropagation()

[this page | pdf | back links]

The stopImmediatePropagation() method (when applied to Event objects in the JavaScript DOM) prevents other (later) event listeners of the same event from being called (so if we add several event listeners to the same event then they execute in turn but only up to the one containing this method).

 

It has the following syntax with no parameters. It does not return a value.

 

event.stopImmediatePropagation()

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile