![]() |
VOOZH | about |
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:
Example 2: In this example, we will change the color of the single div by using this method.
Output: