Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

jQuery event.isImmediatePropagationStopped() method

jQuery event.isImmediatePropagationStopped() method

jQuery event methods jQuery event methods

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 jQuery event methods