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