How can I cancel the keydown of a specific key on the keyboard, for example(space, enter and arrows) in an HTML page.
keydown
arrows
This is certainly very old thread. In order to do the magic with IE10 and FireFox 29.0.1 you definitely must do this inside of keypress (not keydown) event listener function:
keypress
if (e.preventDefault) e.preventDefault();