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