jQuery event.isImmediatePropagationStopped() method
Check that event.stopImmediatePropagation() is called:
event.stopImmediatePropagation();
alert(event.isImmediatePropagationStopped());
});
Try it out . . .
Definitions and usages
This method checks whether the event.stopImmediatePropagation() method is called on the specified event.
If event.stopImmediatePropagation() is called, the method returns true, otherwise false.
Grammar
parameter | describe |
---|---|
event | Required. event The parameter comes from the event binding function. |