首页 > 代码库 > Javascript keyCode键盘键码值表

Javascript keyCode键盘键码值表

雪影工作室版权所有,转载请注明【http://blog.csdn.net/lina791211】


1、前言

        Javascript keyCode键盘键码值表

2、键码表

        通过

Javascript keyCode键盘键码值表
 0123456789
0        BackSpaceTab
1  ClearEnter  Shift_LControl_LAlt_LPause
2Caps_Lock      Escape Escape  
3  space spacePriorNextEndHomeLeft ←Up ↑Right →
4Down ↓SelectPrintExecute InsertDeleteHelp0 equal braceright1 exclam onesuperior
52 quotedbl twosuperior3 section threesuperior4 dollar $5 percent %6 ampersand7 slash braceleft8 parenleft bracketleft9 parenright bracketright  
6     a Ab Bc Cd De E EuroSign
7f Fg Gh Hi Ij Jk Kl Lm M mun No O
8p Pq Q atr Rs St Tu Uv Vw W x Xy Y
9z Z     KP_0 KP_0KP_1 KP_1KP_2 KP_2KP_3 KP_3
10KP_4 KP_4KP_5 KP_5KP_6 KP_6KP_7 KP_7KP_8 KP_8KP_9KP_Multiply KP_Add KP_SeparatorKP_Subtract
11KP_Decimal KP_DecimalKP_Divide KP_DivideF1F2F3F4F5F6F7F8
12F9F10F11F12F13F14F15F16F17F18
13F19F20F21F22F23F24Num_LockScroll_Lock  
14          
15          
16          
17          
18       acute gravecomma semicolonminus underscore
19period colon numbersign apostrophe       
20          
21plusminus hyphen macron copyright registeredguillemotleft guillemotrightmasculine ordfeminine     
22          
23          
24          
25