Monday, May 21, 2007

Restrict User From Ctrl Key Press

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Restrict Ctrl Key Press</title>
function Restrict()
if((window.event.keyCode ==17))
alert("Ctrl Key Press In !"+'\r\n'+ "Add Your Own Code Here"); // Add Your Code Here

<body onload="JavaScript:document.body.focus();" onkeydown="Restrict()">

(IE Supported)

No comments:

Creative Commons License
Disclaimers:We have tried hard to provide accurate information, as a user, you agree that you bear sole responsibility for your own decisions to use any programs, documents, source code, tips, articles or any other information provided on this Blog.