1. keycode 0 =
2. keycode 1 =
3. keycode 2 =
4. keycode 3 =
5. keycode 4 =
6. keycode 5 =
7. keycode 6 =
8. keycode 7 =
9. keycode 8 = BackSpace BackSpace
10. keycode 9 = Tab Tab
11. keycode 10 =
12. keycode 11 =
13. keycode 12 = Clear
14. keycode 13 = Enter
15. keycode 14 =
16. keycode 15 =
17. keycode 16 = Shift_L
18. keycode 17 = Control_L
19. keycode 18 = Alt_L
20. keycode 19 = Pause
21. keycode 20 = Caps_Lock
22. keycode 21 =
23. keycode 22 =
24. keycode 23 =
25. keycode 24 =
26. keycode 25 =
27. keycode 26 =
28. keycode 27 = Escape Escape
29. keycode 28 =
30. keycode 29 =
31. keycode 30 =
32. keycode 31 =
33. keycode 32 = space space
34. keycode 33 = Prior
35. keycode 34 = Next
36. keycode 35 = End
37. keycode 36 = Home
38. keycode 37 = Left
39. keycode 38 = Up
40. keycode 39 = Right
41. keycode 40 = Down
42. keycode 41 = Select
43. keycode 42 = Print
44. keycode 43 = Execute
45. keycode 44 =
46. keycode 45 = Insert
47. keycode 46 = Delete
48. keycode 47 = Help
49. keycode 48 = 0 equal braceright
50. keycode 49 = 1 exclam onesuperior
51. keycode 50 = 2 quotedbl twosuperior
52. keycode 51 = 3 section threesuperior
53. keycode 52 = 4 dollar
54. keycode 53 = 5 percent
55. keycode 54 = 6 ampersand
56. keycode 55 = 7 slash braceleft
57. keycode 56 = 8 parenleft bracketleft
58. keycode 57 = 9 parenright bracketright
59. keycode 58 =
60. keycode 59 =
61. keycode 60 =
62. keycode 61 =
63. keycode 62 =
64. keycode 63 =
65. keycode 64 =
66. keycode 65 = a A
67. keycode 66 = b B
68. keycode 67 = c C
69. keycode 68 = d D
70. keycode 69 = e E EuroSign
71. keycode 70 = f F
72. keycode 71 = g G
73. keycode 72 = h H
74. keycode 73 = i I
75. keycode 74 = j J
76. keycode 75 = k K
77. keycode 76 = l L
78. keycode 77 = m M mu
79. keycode 78 = n N
80. keycode 79 = o O
81. keycode 80 = p P
82. keycode 81 = q Q at
83. keycode 82 = r R
84. keycode 83 = s S
85. keycode 84 = t T
86. keycode 85 = u U
87. keycode 86 = v V
88. keycode 87 = w W
89. keycode 88 = x X
90. keycode 89 = y Y
91. keycode 90 = z Z
92. keycode 91 =
93. keycode 92 =
94. keycode 93 =
95. keycode 94 =
96. keycode 95 =
97. keycode 96 = KP_0 KP_0
98. keycode 97 = KP_1 KP_1
99. keycode 98 = KP_2 KP_2
100. keycode 99 = KP_3 KP_3
101. keycode 100 = KP_4 KP_4
102. keycode 101 = KP_5 KP_5
103. keycode 102 = KP_6 KP_6
104. keycode 103 = KP_7 KP_7
105. keycode 104 = KP_8 KP_8
106. keycode 105 = KP_9 KP_9
107. keycode 106 = KP_Multiply KP_Multiply
108. keycode 107 = KP_Add KP_Add
109. keycode 108 = KP_Separator KP_Separator
110. keycode 109 = KP_Subtract KP_Subtract
111. keycode 110 = KP_Decimal KP_Decimal
112. keycode 111 = KP_Divide KP_Divide
113. keycode 112 = F1
114. keycode 113 = F2
115. keycode 114 = F3
116. keycode 115 = F4
117. keycode 116 = F5
118. keycode 117 = F6
119. keycode 118 = F7
120. keycode 119 = F8
121. keycode 120 = F9
122. keycode 121 = F10
123. keycode 122 = F11
124. keycode 123 = F12
125. keycode 124 = F13
126. keycode 125 = F14
127. keycode 126 = F15
128. keycode 127 = F16
129. keycode 128 = F17
130. keycode 129 = F18
131. keycode 130 = F19
132. keycode 131 = F20
133. keycode 132 = F21
134. keycode 133 = F22
135. keycode 134 = F23
136. keycode 135 = F24
137. keycode 136 = Num_Lock
138. keycode 137 = Scroll_Lock
139. keycode 138 =
140. keycode 139 =
141. keycode 140 =
142. keycode 141 =
143. keycode 142 =
144. keycode 143 =
145. keycode 144 =
146. keycode 145 =
147. keycode 146 =
148. keycode 147 =
149. keycode 148 =
150. keycode 149 =
151. keycode 150 =
152. keycode 151 =
153. keycode 152 =
154. keycode 153 =
155. keycode 154 =
156. keycode 155 =
157. keycode 156 =
158. keycode 157 =
159. keycode 158 =
160. keycode 159 =
161. keycode 160 =
162. keycode 161 =
163. keycode 162 =
164. keycode 163 =
165. keycode 164 =
166. keycode 165 =
167. keycode 166 =
168. keycode 167 =
169. keycode 168 =
170. keycode 169 =
171. keycode 170 =
172. keycode 171 =
173. keycode 172 =
174. keycode 173 =
175. keycode 174 =
176. keycode 175 =
177. keycode 176 =
178. keycode 177 =
179. keycode 178 =
180. keycode 179 =
181. keycode 180 =
182. keycode 181 =
183. keycode 182 =
184. keycode 183 =
185. keycode 184 =
186. keycode 185 =
187. keycode 186 =
188. keycode 187 = acute grave
189. keycode 188 = comma semicolon
190. keycode 189 = minus underscore
191. keycode 190 = period colon
192. keycode 191 =
193. keycode 192 = numbersign apostrophe
194. keycode 193 =
195. keycode 194 =
196. keycode 195 =
197. keycode 196 =
198. keycode 197 =
199. keycode 198 =
200. keycode 199 =
201. keycode 200 =
202. keycode 201 =
203. keycode 202 =
204. keycode 203 =
205. keycode 204 =
206. keycode 205 =
207. keycode 206 =
208. keycode 207 =
209. keycode 208 =
210. keycode 209 =
211. keycode 210 = plusminus hyphen macron
212. keycode 211 =
213. keycode 212 = copyright registered
214. keycode 213 = guillemotleft guillemotright
215. keycode 214 = masculine ordfeminine
216. keycode 215 = ae AE
217. keycode 216 = cent yen
218. keycode 217 = questiondown exclamdown
219. keycode 218 = onequarter onehalf threequarters
220. keycode 219 =
221. keycode 220 = less greater bar
222. keycode 221 = plus asterisk asciitilde
223. keycode 222 =
224. keycode 223 =
225. keycode 224 =
226. keycode 225 =
227. keycode 226 =
228. keycode 227 = multiply division
229. keycode 228 = acircumflex Acircumflex
230. keycode 229 = ecircumflex Ecircumflex
231. keycode 230 = icircumflex Icircumflex
232. keycode 231 = ocircumflex Ocircumflex
233. keycode 232 = ucircumflex Ucircumflex
234. keycode 233 = ntilde Ntilde
235. keycode 234 = yacute Yacute
236. keycode 235 = oslash Ooblique
237. keycode 236 = aring Aring
238. keycode 237 = ccedilla Ccedilla
239. keycode 238 = thorn THORN
240. keycode 239 = eth ETH
241. keycode 240 = diaeresis cedilla currency
242. keycode 241 = agrave Agrave atilde Atilde
243. keycode 242 = egrave Egrave
244. keycode 243 = igrave Igrave
245. keycode 244 = ograve Ograve otilde Otilde
246. keycode 245 = ugrave Ugrave
247. keycode 246 = adiaeresis Adiaeresis
248. keycode 247 = ediaeresis Ediaeresis
249. keycode 248 = idiaeresis Idiaeresis
250. keycode 249 = odiaeresis Odiaeresis
251. keycode 250 = udiaeresis Udiaeresis
252. keycode 251 = ssharp question backslash
253. keycode 252 = asciicircum degree
254. keycode 253 = 3 sterling
255. keycode 254 = Mode_switch
分享到:
相关推荐
### JavaScript 键码(键盘表) #### 概述 在前端开发中,处理用户的键盘输入是一项常见的需求。JavaScript 提供了一系列方法来捕获并响应用户的按键事件,这其中包括了对按键编码(键码)的识别与处理。键码是每...
本文将详细解析从给定文件中提取的JavaScript键码表,帮助读者深入理解这些键码所代表的按键及其功能。 ### 键码表概览 键码表是JavaScript中用于识别键盘按键的一种方式,主要通过`event.keyCode`或更现代的`...
### JavaScript keyCode 键盘键码值表详解 在前端开发中,经常需要处理用户的键盘输入事件,例如监听用户的按键操作来实现特定的功能。在 JavaScript 中,`keyCode` 属性是处理键盘事件时的一个非常重要的概念。它...
javascript键码表
本文将深入探讨“JavaScript键盘表”中的关键知识点,帮助开发者更好地掌握如何识别和响应不同的键盘按键。 ### 1. 键盘事件 在JavaScript中,键盘事件主要通过`keydown`、`keyup`和`keypress`三个事件来监听。...
在JavaScript编程中,了解键盘虚拟键值编码表是非常重要的,特别是在处理键盘事件或者实现自定义键盘输入时。这个编码表提供了每个键盘按键对应的ASCII或Unicode值,这些值可以在JavaScript的键盘事件对象(如`event...
掌握JavaScript键盘表对于任何前端开发者来说都是必备技能,它不仅增强了网页的交互性,还为用户提供了更加丰富和个性化的体验。通过理解不同键码的含义和用途,开发者能够构建出响应用户输入的动态界面,从而提升...
这个键码值表对于开发涉及键盘输入的JavaScript应用非常实用,无论是处理用户输入的文字、数字,还是实现基于键盘的导航和控制,都可以根据这个表来确定用户按下的是哪个键,并作出响应。因此,开发者通常会保存一份...
JavaScript中的`keyCode`属性在处理键盘事件时非常关键,它是一个整数值,表示用户按下或释放的...以上就是关于JavaScript `keyCode`键码值表的基本介绍,掌握这些键码将使你在开发涉及键盘交互的应用时更加得心应手。
而在网页开发中,JavaScript通过键码来响应用户的键盘操作。 #### 三、PB keycode键码对照表解读 根据所提供的内容,“PB keycode键码对照表”主要包含了以下几类按键及其对应的键码: 1. **字母键**:从A到Z的...
在JavaScript中,可以通过`event.keyCode`属性获取到触发键盘事件时按下的键的键码值。不过需要注意的是,自ECMAScript 2015起,推荐使用`event.key`或`event.code`来代替`event.keyCode`,因为它们提供了更精确的...
通过以上介绍,我们可以看到JavaScript中的键码表覆盖了大多数常用的键盘按键。在实际开发中,了解这些键码对于编写响应式、用户友好的应用程序至关重要。此外,掌握如何获取和处理这些键码也有助于提升用户的交互...
### JavaScript键盘事件与KeyCode详解 在前端开发过程中,经常需要处理用户的键盘输入事件。JavaScript 提供了多种方式来监听和响应这些事件,其中最常用的是通过`keydown`、`keyup` 和 `keypress` 事件来捕获用户...
本教程将详细讲解如何使用JavaScript获取键盘按键的键码,并给出一个键码对照表,方便开发者快速查找。 首先,我们需要了解JavaScript中的键盘事件对象event,它包含了多个属性,其中.keyCode属性能返回按下的键的...
在计算机编程,特别是涉及到用户界面交互的领域,了解键盘事件和键码值是至关重要的。键码值(keyCode)是一个整数值,它代表了键盘上每个...总的来说,熟悉键盘键码值是提升编程效率和创建用户友好型应用的关键一步。
这篇名为“javascript键盘事件管理工具”的博文可能探讨了一种结构化和可扩展的方式来管理和处理键盘事件。这样的工具通常会提供一个中心化的注册系统,允许开发者注册和管理不同的键盘事件和相应的回调函数。这样做...
总之,`keyCode`是JavaScript中处理键盘事件的关键,理解和掌握`keyCode`键码值表能帮助开发者更好地创建与用户交互的网页应用程序。通过查阅js_keyCode键码值表.txt文件,你可以找到更详尽的键码对应关系,以应对...