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:
© 2014 Microsoft