javascript keypress backspace not working

Solutions on MaxInterview for javascript keypress backspace not working by the best coders in the world

showing results for - "javascript keypress backspace not working"
Ida
19 Jul 2019
1Try "onkeydown" instead of "onkeypress".
2
3KeyPress event is invoked only for character (printable) keys, 
4KeyDown event is raised for all including nonprintable such as Control, 
5Shift, Alt, BackSpace, etc.