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
Catch the keydown event and return false. It should be in the lines of:
(seen here)
The keycodes are defined here
edit: update my answer to work in IE