altKey

HTML (DHTML)

altKey Property

Internet Development Index

Retrieves a value that indicates the state of the ALT key.

Syntax

[ bAltKeyDown = ] event.altKey

Possible Values

bAltKeyDownBoolean that receives one of the following values.
falseALT key is not pressed.
trueALT key is pressed.

The property is read-only. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Standards Information

There is no public standard that applies to this property.

Applies To

event

See Also

altLeft