Click here to Skip to main content
15,880,905 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
See more:
HEllo Team,

i want to know what is the key code from 0 to 7 in Javascript.I have googled it but no answer.I got the keycodes from 8 to 200.i want to know for which purpose keycodes 0 to 7 is used?

Thanks
Harshal Raut.
Posted
Comments
Vedangi 27-Jan-14 7:01am    
You can check this link
http://www.cambiaresearch.com/articles/15/javascript-char-codes-key-codes
R Harshal 27-Jan-14 7:19am    
Thanks for giving quick reply,but if you see keycode 0 to keycode 7 is not present.
I need that .

1 solution

To understand what those values are, you need to take a look at THIS[^] table. Those values don't actually correspond to any form of keypress (what key would you press to get a NUL?) so they aren't represented as keycodes.
 
Share this answer
 
Comments
R Harshal 27-Jan-14 8:05am    
Thanks Buddy...
Pete O'Hanlon 27-Jan-14 8:10am    
No problem. I'm glad to help.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900