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


JAVASCRIPT DHTML TUTORIALS » Event onMethod » 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 onMethod
» Key Event