Event Handler |
Description |
Most used in (HTML tags): |
onAbort |
The useser stops the loading of an image. |
image |
onBlur |
Detects when the element loses focuse or when the window or frame is changed from one to another. |
Button, checkbox, fileupload, password, radio, reset, select, submit, text, and textarea |
onChange |
Detects when a select, text or textarea feild has it's value changed and then is unselected. |
password, select, text, textarea, and fileupload |
onClick |
Used to detect when an object is clicked. |
button, checkbox, link, radio, reset, document, and submit |
onDblClick |
Detects when the user double-clicks on an element or link. |
area, document, and link |
onDragDrop |
Detects when a user drops an object, such as a file, into the window of the browser. |
frame |
onError |
Detects when the loading of an element or imaage causes an error. |
frame and image |
onFocus |
Detects when an object (i.e. textbox) is selected. |
checkbox, frame, layer, password, radio, reset, select, submit, text, and textarea |
onKeyDown |
Detects when a user presses a key on the keyboard down. |
document, image, link, and textarea |
onKeyPress |
Detects that the user has pressed or holds down a key. |
document, image, link, and textarea |
onKeyUp |
Detects when the user relases a key. |
document, image, link, and textarea |
onLoad |
Detects when the the browser has finished loading. |
frame, image, layer, and window |
onMouseDown |
Detects when the user presses the mouse button. |
button, document, and link |
onMouseUp |
Detects when the user relases the mouse button. |
button, document, and link |
onMouseMove |
Detects when the user moves the cursor. |
Hardly every used. |
onMouseOut |
Detects when the cursor leaves a certain area or a link. |
area, layer, and link |
onMouseOver |
Detects when the cursor moves over a object or a certain area. |
area, layer, and link |
onMove |
Detects when the user and/or the script moves the browser window or frame. |
frame and window |
onReset |
Detects when the user resets a form. |
form |
onResize |
Detects when the user and/or the script resizes a window or a frame. |
frame and window |
onSelect |
Detects when the user selects text inside of a text or textarea feild. |
text and textarea |
onSubmit |
Detects when the user submits a form. |
form |
onUnload |
Detects when the user exits a document. |
frame and window |