'ctrlKey' Example : ctrlKey « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- ctrlKey
'ctrlKey' Example
<html>
<body>
<input type="button"
value="Click this button while pressing either Ctrl key"
onClick="alert(event.ctrlKey);">
</body>
</html>
Related examples in the same category