English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

jQuery event.isImmediatePropagationStopped() method

jQuery Events

The event.isImmediatePropagationStopped() method checks whether event.stopImmediatePropagation() has been called on this event objectevent.stopImmediatePropagation().

If event.stopImmediatePropagation() is called, this method returns true; otherwise, it returns false.

This method does not accept any parameters.

Syntax:

event.isImmediatePropagationStopped()

Instance

Check if event.stopImmediatePropagation() was called:

$("div").click(function(event){
  event.stopImmediatePropagation();
  alert(event.isImmediatePropagationStopped());
});
Test and see‹/›

Parameter Value

ParameterDescription
eventTheEventThe parameters come from the event binding feature

jQuery Events