Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ctrlKey property

Sets or retrieves the state of the CTRL key. For the standards based property, see ctrlKey.

Syntax

JavaScript

p = object.ctrlKey

 

Property values

Type: Boolean

false (false)

CTRL key is not pressed.

true (true)

CTRL key is pressed.

Remarks

The property is read-only in Microsoft Internet Explorer 4.0, and read/write in Microsoft Internet Explorer 5 and later.

See also

event
ctrlLeft

 

 

Show:
© 2015 Microsoft