HTML – onkeypress Event
The onkeypress event fires when the user presses a key on the keyboard, but is not fired for all keys (e.g. ALT, CTRL, SHIFT, ESC).
The onkeypress event fires when the user presses a key on the keyboard, but is not fired for all keys (e.g. ALT, CTRL, SHIFT, ESC).