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 CYBERSECURITY DATA SCIENCE
     ❯   

jQuery event.isPropagationStopped() Method

❮ jQuery Event Methods

Example

Check if event.stopPropagation() was called:

$("div").click(function(event){
  event.stopPropagation();
  alert(event.isPropagationStopped());
});
Try it Yourself »

Definition and Usage

The event.isPropagationStopped() method checks whether event.stopPropagation() was called for the event.

This method returns true if event.stopPropagation() is called, and false if not.


Syntax

event.isPropagationStopped()

Parameter Description
event Required. The event parameter comes from the event binding function

❮ jQuery Event Methods