Document Element |
oncopy | The script to be run when the user copies the content of an element. |
<!-- Executes go() function -->
<tbody oncopy="go()">Table body content</tbody>
|
oncut | The script to be run when the user cuts the content of an element. |
<!-- Executes go() function -->
<tbody oncut="go()">Table body content</tbody>
|
onpaste | The script to be run when the user pastes some content into an element. |
<!-- Executes go() function -->
<tbody onpaste="go()">Table body content</tbody>
|
Drag and Drop |
ondrag | The script to be run when an element is dragged. |
<!-- Executes go() function -->
<tbody ondrag="go()">Table body content</tbody>
|
ondragend | The script to be run when an element has stopped being dragged. |
<!-- Executes go() function -->
<tbody ondragend="go()">Table body content</tbody>
|
ondragenter | The script to be run when an element has been dragged to a valid drop target. |
<!-- Executes go() function -->
<tbody ondragenter="go()">Table body content</tbody>
|
ondragleave | The script to be run when an element leaves a valid drop target. |
<!-- Executes go() function -->
<tbody ondragleave="go()">Table body content</tbody>
|
ondragover | The script to be run when an element is being dragged over a valid drop target. |
<!-- Executes go() function -->
<tbody ondragover="go()">Table body content</tbody>
|
ondragstart | The script to be run at the start of a drag operation. |
<!-- Executes go() function -->
<tbody ondragstart="go()">Table body content</tbody>
|
ondrop | The script to be run when a dragged element is being dropped. |
<!-- Executes go() function -->
<tbody ondrop="go()">Table body content</tbody>
|
Form |
onblur | The script to be run when the element loses focus. |
<!-- Executes go() function -->
<tbody onblur="go()">Table body content</tbody>
|
onchange | The script to be run when object changed and attempt to leave field. |
<!-- Executes go() function -->
<tbody onchange="go()">Table body content</tbody>
|
oncontextmenu | The script to be run when a context menu is triggered. |
<!-- Executes go() function -->
<tbody oncontextmenu="go()">Table body content</tbody>
|
onfocus | The script to be run when the element gets focus. |
<!-- Executes go() function -->
<tbody onfocus="go()">Table body content</tbody>
|
oninput | The script to be run when an element gets user input. |
<!-- Executes go() function -->
<tbody oninput="go()">Table body content</tbody>
|
oninvalid | The script to be run when an element is invalid. |
<!-- Executes go() function -->
<tbody oninvalid="go()">Table body content</tbody>
|
onreset | The script to be run when a dragged element is being dropped. |
<!-- Executes go() function -->
<tbody onreset="go()">Table body content</tbody>
|
onselect | The script to be run when some or all of the contents of an object are selected. |
<!-- Executes go() function -->
<tbody onselect="go()">Table body content</tbody>
|
onsubmit | The script to be run when a form is submitted. |
<!-- Executes go() function -->
<tbody onsubmit="go()">Table body content</tbody>
|
Keyboard |
onkeydown | The script to be run when an element is in focus and keyboard key is pressed down. |
<!-- Executes go() function -->
<tbody onkeydown="go()">Table body content</tbody>
|
onkeypress | The script to be run when an element is in focus and keyboard key is pressed down and released. |
<!-- Executes go() function -->
<tbody onkeypress="go()">Table body content</tbody>
|
onkeyup | The script to be run when an element is in focus and keyboard key is released. |
<!-- Executes go() function -->
<tbody onkeyup="go()">Table body content</tbody>
|
Media |
onabort | The script code to be run on abort. |
<!-- Executes go() function -->
<tbody onabort="go()">Table body content</tbody>
|
oncanplay | The script to be run when a file has buffered enough so it is ready to start playing. |
<!-- Executes go() function -->
<tbody oncanplay="go()">Table body content</tbody>
|
oncanplaythrough | The script to be run when a file can be played all the way to the end without further need of buffering. |
<!-- Executes go() function -->
<tbody oncanplaythrough="go()">Table body content</tbody>
|
oncuechange | The script to be run when the cue changes when using the track element. |
<!-- Executes go() function -->
<tbody oncuechange="go()">Table body content</tbody>
|
ondurationchange | The script to be run when the length of the media is changed. |
<!-- Executes go() function -->
<tbody ondurationchange="go()">Table body content</tbody>
|
onemptied | The script to be run when a media resource element suddenly becomes empty, usually due to an error. |
<!-- Executes go() function -->
<tbody onemptied="go()">Table body content</tbody>
|
onended | The script to be run when the media has reach the end. |
<!-- Executes go() function -->
<tbody onended="go()">Table body content</tbody>
|
onloadeddata | The script to be run when media data is loaded and playback can start. |
<!-- Executes go() function -->
<tbody onloadeddata="go()">Table body content</tbody>
|
onloadedmetadata | The script to be run when metadata has been loaded. |
<!-- Executes go() function -->
<tbody onloadedmetadata="go()">Table body content</tbody>
|
onloadstart | The script to be run whenthe media resource has started loading. |
<!-- Executes go() function -->
<tbody onloadstart="go()">Table body content</tbody>
|
onpause | The script to be run when the media resource has been paused. |
<!-- Executes go() function -->
<tbody onpause="go()">Table body content</tbody>
|
onplay | The script to be run when the media resource starts playback. |
<!-- Executes go() function -->
<tbody onplay="go()">Table body content</tbody>
|
onplaying | The script to be run when when playback has already begun. |
<!-- Executes go() function -->
<tbody onplaying="go()">Table body content</tbody>
|
onprogress | The script to be run when the browser is fetching the media data. |
<!-- Executes go() function -->
<tbody onprogress="go()">Table body content</tbody>
|
onratechange | The script to be run when the playback rate changes. |
<!-- Executes go() function -->
<tbody onratechange="go()">Table body content</tbody>
|
onseeked | The script to be run when the seeking attribute is set to false indicating that seeking has finished. |
<!-- Executes go() function -->
<tbody onseeked="go()">Table body content</tbody>
|
onseeking | The script to be run when the seeking attribute is set to true indicating that seeking is currently active. |
<!-- Executes go() function -->
<tbody onseeking="go()">Table body content</tbody>
|
onstalled | The script to be run when the browser is unable to continue fetching media data. |
<!-- Executes go() function -->
<tbody onstalled="go()">Table body content</tbody>
|
onsuspend | The script to be run when media data has stopped before being completely loaded. |
<!-- Executes go() function -->
<tbody onsuspend="go()">Table body content</tbody>
|
ontimeupdate | The script to be run when the media resources current playback position has changed. |
<!-- Executes go() function -->
<tbody ontimeupdate="go()">Table body content</tbody>
|
onvolumechange | The script to be run when the volume has changed or been muted. |
<!-- Executes go() function -->
<tbody onvolumechange="go()">Table body content</tbody>
|
onwaiting | The script to be run when the media resource has paused but is expected to resume. |
<!-- Executes go() function -->
<tbody onwaiting="go()">Table body content</tbody>
|
Mouse |
onclick | The script to be run when when a mouse is clicked on an element. |
<!-- Executes go() function -->
<tbody onclick="go()">Table body content</tbody>
|
ondblclick | The script to be run when a mouse is double clicked on an element. |
<!-- Executes go() function -->
<tbody ondblclick="go()">Table body content</tbody>
|
onmousedown | The script to be run when he mouse button is pressed down while the cursor is over an element. |
<!-- Executes go() function -->
<tbody onmousedown="go()">Table body content</tbody>
|
onmousemove | The script to be run when the mouse button is moved. |
<!-- Executes go() function -->
<tbody onmousemove="go()">Table body content</tbody>
|
onmouseout | The script to be run when the mouse cursor moves off an element. |
<!-- Executes go() function -->
<tbody onmouseout="go()">Table body content</tbody>
|
onmouseover | The script to be run when the mouse cursor moves over an element. |
<!-- Executes go() function -->
<tbody onmouseover="go()">Table body content</tbody>
|
onmouseup | The script to be run when the mouse button is released while the cursor is over the element. |
<!-- Executes go() function -->
<tbody onmouseup="go()">Table body content</tbody>
|
onwheel | The script to be run when the mouse wheel rolls up or down over an element. |
<!-- Executes go() function -->
<tbody onwheel="go()">Table body content</tbody>
|
Scroll |
onscroll | The script code to be run when the scrollbar of an element is being scrolled. |
<!-- Executes go() function -->
<tbody onscroll="go()">Table body content</tbody>
|
Window - NONE |