Tutorials References Exercises Videos Menu
Create Website Get Certified Upgrade

jQuery event.isImmediatePropagationStopped() Method

❮ jQuery Event Methods

Example

Check if event.stopImmediatePropagation() was called:

$("div").click(function(event){
  event.stopImmediatePropagation();
  alert(event.isImmediatePropagationStopped());
});
Try it Yourself »

Definition and Usage

This method checks whether the event.stopImmediatePropagation() was called for the event.

This method returns true if event.stopImmediatePropagation() is called, and false if not.


Syntax

event.isImmediatePropagationStopped()

Parameter Description
event Required. The event parameter comes from the event binding function

❮ jQuery Event Methods