Blocking F1 keys using javascript,
<html>
<head>
<script>
function ByPass()
{
 var kCode = window.event.keyCode;
        if(kCode == 112)
       {
               alert('F1 Clicked'); // Alter Code As Your Wish
        }
}
</script>
</head>
<body onhelp="return false;" onkeydown="ByPass()">
</body>
</html>
Note: Tested In IE 7
1 comment:
Thanks, this post helped me!
JP
Post a Comment