Event

JavaScript: Event

Event Behavior

Type Description
e.preventDefault() Stop default events
e.stopPropagation() Stop sending events to the parent DOM elements

Reference