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