JavaScript Reference/Javascript Properties/ctrlKey
Содержание
"ctrlKey" Example
<source lang="javascript">
<html> <body> <input type="button"
value="Click this button while pressing either Ctrl key" onClick="alert(event.ctrlKey);">
</body> </html>
</source>
"ctrlKey" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |event | +----------------+--------------------------------------------------------------+
</source>
"ctrlKey" Possible Values
<source lang="javascript">
Possible Values true false.
</source>
"ctrlKey" Syntax and Note
<source lang="javascript">
Note: Read-only property. Was CTRL key pressed.
Syntax:
window.event.ctrlKey
</source>