...

View Full Version : disable BACKSPACE button



therry
07-04-2002, 03:40 AM
Hi,

Is there any javascript to disable on pressing the BACKSPACE button on the keyboard. Something like disable the Right Click.

x_goose_x
07-04-2002, 05:42 AM
<head>
<script>
function key(e) {
var k =
document.layers ? e.which :
document.all ? event.keyCode :
document.getElementById ? e.keyCode : 0;
if (k==8) {
return false;
}
}
</script>
</head>
<body onkeydown="return key(event);">
</body>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum