Select from following answers:- event.stopPropagation()
- event.preventDefault()
- event.stopImmediatePropagation()

- event.isDefaultPrevented()
- All Above
'event.stopImmediatePropagation()' is used to execute the first handler of the event and stops rest of handlers from being executed.
And it stops the event from bubbling up the DOM(Document Object Model).
Show Correct Answer
Asked In: Spotted while Learning |
Alert Moderator