jQuery event.isImmediatePropagationStopped() method

jQuery event method

Check that event.stopImmediatePropagation() is called:

$("div").click(function(event){
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

event .isImmediatePropagationStopped()

parameter describe
event Required. event The parameter comes from the event binding function.


jQuery event method