HTML and CSS Reference
Table 13.8 Properties of the event Object: Internet Explorer (continued)
What It Describes
Specifies the filter object that caused an onfilterchange event.
x and y
The cursor's horizonal and vertical position in pixels, relative to the
document in which the event occurred.
Used to indicate the status of a data transfer for data source objects.
Table 13.9 Properties of the event Object: Mozilla Firefox
What It Describes
altKey, ctrlKey, metaKey,
Set to true or false to test if Alt, Shift, Control, or Meta keys were pressed
when the event occurred (Internet Explorer doesn't support metaKey).
pageX and pageY
Horizontal and vertical cursor position within a Web page, relative to the
document, not supported by Internet Explorer.
Set to Boolean value indicating whether or not the event bubbles.
An integer indicating which mouse button was pressed or released, 0 =
left, 2 = right, 1 = middle. Slightly different in Internet Explorer, as
A Boolean value indicating whether or not the event can be canceled.
Indicates the Unicode for the key pressed. Use
String.fromCharCode(which) to convert code to string.
Returns the mouse coordinates at the time of the event relative to upper-
left corner of the window.
The node that this event handler is currently being run on.
An integer value indicating which phase of the event flow this event is
being processed in. One of CAPTURING_PHASE (1), AT_TARGET (2) or
layerX and layerY
Returns the horizontal and vertical cursor position within a layer, not
On a mouseover event it indicates the node that the mouse has left. On a
mouseout event it indicates the node the mouse has moved onto.
screenX and screenY
Returns the coordinates of the mouse relative to the screen when the