jQuery event.stopImmediatePropagation() Method
Execute the first event handler, and stop the rest of the event handlers from being executed:
alert("Event handler 1 executed");
alert("Event handler 2 executed");
alert("Event handler 3 executed");
Try it yourself »
Definition and Usage
The event.stopImmediatePropagation() method stops the rest of the event handlers from being executed.
This method also stops the event from bubbling up the DOM tree.
Tip: Use the event.isImmediatePropagationStopped() method to check whether this method was called for the event.
|event||Required. The event parameter comes from the event binding function|
Thank You For Helping Us!
Your message has been sent to W3Schools.