VOOZH about

URL: https://www.geeksforgeeks.org/jquery/jquery-event-stopimmediatepropagation-method/

⇱ jQuery event.stopImmediatePropagation() Method - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

jQuery event.stopImmediatePropagation() Method

Last Updated : 11 Jul, 2025

The jQuery event.stopImmediatePropagation() is an inbuilt method in jQuery used to stop the rest of the event handlers from being executed for the selected element. 

Syntax:

event.stopImmediatePropagation()

Parameter: No parameter is required. 

Example 1: Here, only first pop box will appear after this method will stop the other pop box to appear. 

Output: 

👁 Image
 

Example 2: In this example, we will change the color of the single div by using this method.

Output: 

👁 Image
 
Comment

Explore