Event Handlers allow embedded scripting languages to capture events
that occur as a page is experienced by a reader. It is possible to
associate an action with a certain number of events that occur when a user
interacts with a user agent. Each of the "intrinsic events" listed above
takes a value that is a script. The script is executed whenever the event
occurs for that element. Note!! This page is far from complete yet! I am
trying to compile this information as fast as I can. -Thanks!
Event Handler Attributes
onClick
2 | 3
| 3.2 | 4
| IE3B1 | M
| N2B3
Required? No
Description:
This executes script code when the pointing device is clicked
within the bounds of an element.
Values:
Scripting statements or an external function call.
onDblClick
2 | 3
| 3.2 | 4
| IE4 | M
| N
Required? No
Description:
This executes script code when the pointing device is double clicked
within the bounds of an element.
Values:
Scripting statements or an external function call.
onMouseDown
2 | 3
| 3.2 | 4
| IE4B1 | M
| N
Required? No
Description:
This executes script code when the pointing device is pressed within
the bounds of an element.
Values:
Scripting statements or an external function call.
onMouseUp
2 | 3
| 3.2 | 4
| IE4B1 | M
| N
Required? No
Description:
This executes script code once each time the pointing device button
is released within the bounds of an element.
Values:
Scripting statements or an external function call.
onMouseOver
2 | 3
| 3.2 | 4
| IE3B1 | M
| N2B3
Required? No
Description:
This executes script code once each time the pointing device enters
the bounds of an element from outside the element.
Values:
Scripting statements or an external function call.
onMouseMove
2 | 3
| 3.2 | 4
| IE4B1 | M
| N
Required? No
Description:
The pointing device was moved within the boundary of the element
Values:
Scripting statements or an external function call.
onMouseOut
2 | 3
| 3.2 | 4
| IE4B1 | M
| N
Required? No
Description:
The pointing device was moved out of the boundary of the element.
Values:
Scripting statements or an external function call.
onKeyPress
2 | 3
| 3.2 | 4
| IE4B1 | M
| N
Required? No
Description:
This executes script code once each time a keyboard key is pressed
and released for an element that has focus.
Values:
Scripting statements or an external function call.
onKeyDown
2 | 3
| 3.2 | 4
| IE4B1 | M
| N
Required? No
Description:
This executes script code once each time a keyboard key is depressed
for an element that has focus.
Values:
Scripting statements or an external function call.
onKeyUp
2 | 3
| 3.2 | 4
| IE4B1 | M
| N
Required? No
Description:
This executes script code once each time a keyboard key is released
for an element that has focus.
Values:
Scripting statements or an external function call.