'ctrlKey' Example : Key Event : Event JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Event » Key Event »

 

'ctrlKey' Example



    
<html>
<body>
<input type="button" 
       value="Click this button while pressing either Ctrl key" 
       onClick="alert(event.ctrlKey);"
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Event
» Key Event