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