Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
13
rated 0 times [  15] [ 2]  / answers: 1 / hits: 15249  / 13 Years ago, mon, may 9, 2011, 12:00:00

I'd like to execute some code if the user presses the dot (on standard keybord or on numblock). But if I take it over Keycode (110), this is the same like the delete button.



How do I recognize them?



Thanks for your help!


More From » keypress

 Answers
2

Delete key (usually above arrows) is 46, numpad decimal is 110, and the keyboard period is 190.



This is a pretty good page to know what keycodes are what: http://www.cambiaresearch.com/c4/702b8cd1-e5b0-42e6-83ac-25f0306e3e25/Javascript-Char-Codes-Key-Codes.aspx



If this doesn't answer your question, please rephrase it as it's a little confusing what you are looking for.


[#92325] Saturday, May 7, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
hakeemabramh

Total Points: 234
Total Questions: 109
Total Answers: 109

Location: Romania
Member since Mon, Jun 6, 2022
2 Years ago
;