click
contextmenu
mouseover / mouseout
mousedown / mouseup
mousemove
submit
focus
blur
keydown
DOMContentLoaded
transitionstart
target.addEventListener(type, listener[, options]);
target.addEventListener(type, listener[, useCapture]);
// Gecko/Mozilla only
target.addEventListener(type, listener[, useCapture, wantsUntrusted]);<!-- Syntax -->
<element event="some JavaScript">
<!-- Example -->
<button onclick="document.getElementById('demo').innerHTML = Date()">
The time is?
</button>button.onclick = function() {
document.getElementById('demo').innerHTML = Date();
}The Event interface's preventDefault() method tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be.
The stopPropagation() method of the Event interface prevents further propagation of the current event in the capturing and bubbling phases.
The stopImmediatePropagation() method of the Event interface prevents other listeners of the same event from being called.