jQuery event.isImmediatePropagationStopped() method
Example
Check whether event.stopImmediatePropagation() was called:
$("div").click(function(event){
event.stopImmediatePropagation();
alert(event.isImmediatePropagationStopped());
});
Try it »
Definition and Usage
This method checks whether event.stopImmediatePropagation() method.
This method returns true if event.stopImmediatePropagation() was called, otherwise false.
Syntax
event
.isImmediatePropagationStopped()
| Parameters | Description |
|---|---|
| event | Required.event The parameters come from the event binding function. |
jQuery event methods