THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

jQuery event.isImmediatePropagationStopped() Method

jQuery Event Methods 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 jQuery Event Methods