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