Menu
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY AWS CYBERSECURITY DATA SCIENCE
     ❯   

jQuery event.isImmediatePropagationStopped() Method

❮ 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