Event Handler |
Event |
onmousedown
|
mouse button is pressed down. |
onmouseup
|
mouse button is released. |
onclick
|
event raised when mouse is clicked. |
ondblclick
|
mouse is double-clicked. |
onmouseover
|
mouse cursor moves over the target. |
onmouseout
|
mouse cursor leaves target. |
onmousemove
|
mouse cursor moves. |
oncontextmenu
|
context menu is created. |
onkeydown
|
a key has been pressed. |
onkeyup
|
a key has been released. |
onkeypress
|
a key has been pressed. |
onfocus
|
focus has been set on the target. |
onblur
|
focus has moved away from the target. |
onload
|
the element/window has loaded. |
onunload
|
the element/window has been unloaded. |
onabort
|
the action has been aborted. |
onerror
|
there has been an error. |
onsubmit
|
a form has been submitted. |
onreset
|
a form has been reset. |
onchange
|
a value in a form has been changed. |
onselect
|
an element has been selected. |
oninput
|
|
onpaint
|
|
ontext
|
|
onpopupShowing
|
|
onpopupShown
|
|
onpopupHiding
|
|
onpopupHidden
|
|
onclose
|
the window/frame has been closed. |
oncommand
|
the target element has been activated (e.g., clicked, selected, etc.) |
onbroadcast
|
|
oncommandupdate
|
|
ondragenter
|
|
ondragover
|
an item has been dragged over the event target. |
ondragexit
|
|
ondragdrop
|
an item has been dropped onto the event target. |
ondraggesture
|
|
onresize
|
Element/window has been resized. |
onscroll
|
Window/frame has been scrolled |
overflow
|
text in window/frame overflows available space. |
onunderflow
|
|
onoverflowchanged
|
|
onsubtreemodified
|
a subtree of the current document has been modified in some way. |
onnodeinserted
|
a node has been inserted into the document. |
onnoderemoved
|
a node has been removed from the document. |
onnoderemovedfromdocument
|
a node has been removed from the document. |
onnodeinsertedintodocument
|
a new node has been inserted into the document. |
onattrmodified
|
a DOM attribute has been modified. |
oncharacterdatamodified
|
Character data has been modified. |