How to disable specific keyboard keys on a webpage?

I think, you should call stop() on the passed event, i.e.

I think, you should call stop() on the passed event, i.e. Document. Onkeydown = function(e) { if (e.

KeyCode == 17) { alert('Not Allowed! '); e.stop(); } }; and maybe use addEventListener(). I am not sure, intercepting the Ctrl key down will actually turn of Ctrl altogether.

I guess, you need to intercept cursor left/right with the ctrlKey attribute set. For testing key events, see e.g. unixpapa.com/js/testkey.html.PS.Document... javascript.about.com/od/hintsandtips/a/w....

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions