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

- event.stopImmediatePropagation()
- event.isDefaultPrevented()
- All Above
'event.preventDefault()' is the method used to stop the default action.
If you call this method then, the default action of the event will not be triggered.
Show Correct Answer
Asked In: Spotted while Learning |
Alert Moderator