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