Event.stopImmediatePropagation()

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.