The Event Name for each Event Handler can be derived simply by removing the "on" prefix from the Event Handler. That is the Event Handler onevent becomes event. EG: onclick becomes click.
Here is a list of the basic events:
The "4I6" column is a binary string, where the left most bit is for NN4, the middle bit is IE4, and the rightmost bit is NS6. [Actually, I haven't stuck in the NS6 bit yet.]
| 4I6 | Event Handler |
Executes JavaScript code... |
|---|---|---|
|
|
onabort | ... when the user aborts the loading of an image. |
|
|
onafterupdate | |
|
|
onbeforeunload | |
|
|
onbeforeupdate | |
|
|
onblur | ... when a form element loses focus or when a window or frame loses focus. |
|
|
onbounce | |
|
|
onchange |
... when a Select, Text, or Textarea field loses focus and its value has been modified |
|
|
onclick | ... when an object on a form is clicked. |
|
|
ondataavailable | |
|
|
ondatasetchanged | |
|
|
ondatasetcomplete | |
|
|
oncblclick | ... when the user double-clicks a form element or a link. |
|
|
ondragdrop | ... when the user drops an object onto the browser window, such as dropping a file. |
|
|
ondragstart | |
|
|
onerror | ... when the loading of a document or image causes an error. |
|
|
onerrorupdate | |
|
|
onfilterchange | |
|
|
onfinish | |
|
|
onfocus | ... when a window, frame, or frameset receives focus or when a form element receives input focus. |
|
|
onhelp | |
|
|
onkeydown | ... when the user depresses a key. |
|
|
onkeypress | ... when the user presses or holds down a key. |
|
|
onkeyup | ... when the user releases a key. |
|
|
onload | ... when the browser finishes loading a window or all frames within a <frameset> tag. |
|
|
onmousedown | ... when the user depresses a mouse button. |
|
|
onmousemove | ... when the user moves the cursor. |
|
|
onmouseout | ... each time the mouse pointer leaves an area (client-side image map) or link from inside that area or link. |
|
|
onmouseover | ... once each time the mouse pointer moves over an object or area from outside that object or area. |
|
|
onmouseup | ... when the user releases a mouse button. |
|
|
onmove | ... when the user or script moves a window or frame. |
|
|
onreadystatechange | |
|
|
onreset | ... when a user resets a form (clicks a Reset button). |
|
|
onresize | ... when a user or script resizes a window or frame. |
|
|
onrowenter | |
|
|
onrowexit | |
|
|
onscroll | |
|
|
onselect | ... when a user selects some of the text within a text or textarea field. |
|
|
onselectstart | |
|
|
onstart | |
|
|
onsubmit | ... when a user submits a form. |
|
|
onunload | ... when the user exits a document. |
Page Modified: (Hand noted: 2004-08-19 13:45:52Z) (Auto noted: 2007-11-17 06:42:13Z)