| Event | Description |
|---|
| onactivate |
Fires when the object is set as the active element. |
| onbeforeactivate |
Fires immediately before the object is set as the active element. |
| onbeforecut |
Fires on the source object before the selection is deleted from the document. |
| onbeforedeactivate |
Fires immediately before the activeElement is changed from the current object to another object in the parent document. |
| onbeforeeditfocus |
Fires before an object contained in an editable element enters a UI-activated state or when an editable container object is control selected. |
| onbeforepaste |
Fires on the target object before the selection is pasted from the system clipboard to the document. |
| onclick |
Fires when the user clicks the left mouse button on the object. |
| oncontextmenu |
Fires when the user clicks the right mouse button in the client area, opening the context menu. |
| oncontrolselect |
Fires when the user is about to make a control selection of the object. |
| oncut |
Fires on the source element when the object or selection is removed from the document and added to the system clipboard. |
| ondblclick |
Fires when the user double-clicks the object. |
| ondeactivate |
Fires when the activeElement is changed from the current object to another object in the parent document. |
| ondrag |
Fires on the source object continuously during a drag operation. |
| ondragend |
Fires on the source object when the user releases the mouse at the close of a drag operation. |
| ondragenter |
Fires on the target element when the user drags the object to a valid drop target. |
| ondragleave |
Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation. |
| ondragover |
Fires on the target element continuously while the user drags the object over a valid drop target. |
| ondragstart |
Fires on the source object when the user starts to drag a text selection or selected object. |
| ondrop |
Fires on the target object when the mouse button is released during a drag-and-drop operation. |
| onfocusin |
Fires for an element just prior to setting focus on that element. |
| onfocusout |
Fires for the current element with focus immediately after moving focus to another element. |
| onhelp |
Fires when the user presses the F1 key while the browser is the active window. |
| onkeydown |
Fires when the user presses a key. |
| onkeypress |
Fires when the user presses an alphanumeric key. |
| onkeyup |
Fires when the user releases a key. |
| onmousedown |
Fires when the user clicks the object with either mouse button. |
| onmousemove |
Fires when the user moves the mouse over the object. |
| onmouseout |
Fires when the user moves the mouse pointer outside the boundaries of the object. |
| onmouseover |
Fires when the user moves the mouse pointer into the object. |
| onmouseup |
Fires when the user releases a mouse button while the mouse is over the object. |
| onmousewheel |
Fires when the wheel button is rotated. |
| onmove |
Fires when the object moves. |
| onmoveend |
Fires when the object stops moving. |
| onmovestart |
Fires when the object starts to move. |
| onpaste |
Fires on the target object when the user pastes data, transferring the data from the system clipboard to the document. |
| onpropertychange |
Fires when a property changes on the object. |
| onreadystatechange |
Fires when the state of the object has changed. |
| onresizeend |
Fires when the user finishes changing the dimensions of the object in a control selection. |
| onresizestart |
Fires when the user begins to change the dimensions of the object in a control selection. |
| onselectionchange |
Fires when the selection state of a document changes. |
| onstop |
Fires when the user clicks the Stop button or leaves the Web page. |