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