Corresponding table of keycode in Javascript

Source: Internet
Author: User

Keycode 8 = backspace

Keycode 9 = tab Tab

Keycode 12 = clear

Keycode 13 = enter

Keycode 16 = shift_l

Keycode 17 = control_l

Keycode 18 = alt_l

Keycode 19 = pause

Keycode 20 = caps_lock

Keycode 27 = escape

Keycode 32 = space

Keycode 33 = prior

Keycode 34 = next

Keycode 35 = end

Keycode 36 = home

Keycode 37 = left

Keycode 38 = up

Keycode 39 = right

Keycode 40 = down

Keycode 41 = select

Keycode 42 = print

Keycode 43 = Execute

Keycode 45 = insert

Keycode 46 = Delete

Keycode 47 = Help

Keycode 48 = 0 equal braceright

Keycode 49 = 1 exclam onesuperior

Keycode 50 = 2 quotedbl twosuperior

Keycode 51 = 3 Section threesuperior

Keycode 52 = 4 dollar

Keycode 53 = 5 percent

Keycode 54 = 6 ampersand

Keycode 55 = 7 slash braceleft

Keycode 56 = 8 parenleft bracketleft

Keycode 57 = 9 parenright bracketright

Keycode 65 =

Keycode 66 = B

Keycode 67 = C

Keycode 68 = d

Keycode 69 = e eurosign

Keycode 70 = f

Keycode 71 = g

Keycode 72 = H

Keycode 73 = I

Keycode 74 = J

Keycode 75 = K

Keycode 76 = L

Keycode 77 = m mu

Keycode 78 = n

Keycode 79 = o

Keycode 80 = p

Keycode 81 = Q

Keycode 82 = r

Keycode 83 = s

Keycode 84 = t

Keycode 85 = u

Keycode 86 = V v

Keycode 87 = W

Keycode 88 = x

Keycode 89 = y

Keycode 90 = z

Keycode 96 = kp_0 kp_0

Keycode 97 = kp_1 kp_1

Keycode 98 = kp_2 kp_2

Keycode 99 = kp_3 kp_3

Keycode 100 = kp_4 kp_4

Keycode 101 = kp_5 kp_5

Keycode 102 = kp_6 kp_6

Keycode 103 = kp_7 kp_7

Keycode 104 = kp_8 kp_8

Keycode 105 = kp_9 kp_9

Keycode 106 = kp_multiply

Keycode 107 = kp_add

Key code 108 = kp_separator

Keycode 109 = kp_subtract

Key code 110 = kp_decimal

Keycode 111 = kp_divide

Key code 112 = F1

Keycode 113 = F2

Key code 114 = F3

Keycode 115 = F4

Key code 116 = F5

Keycode 117 = F6

Key code 118 = F7

Key code 119 = F8

Keycode 120 = F9

Keycode 121 = F10

Keycode 122 = F11

Key Code 123 = F12

Keycode 124 = f13

Keycode 125 = F14

Keycode 126 = F15

Keycode 127 = F16

Keycode 128 = f17

Keycode 129 = F18

Keycode 130 = F19

Keycode 131 = F20

Keycode 132 = F21

Keycode 133 = f22

Keycode 134 = F23

Keycode 135 = f24

Keycode 136 = num_lock

Keycode 137 = scroll_lock

Keycode 187 = acute grave

Keycode 188 = comma semicolon

Key code 189 = minus underscore

Key code 190 = period colon

Key code 192 = numbersign apostrophe

Key Code 210 = plusminus hyphen macron

Key code 211 =

Key code 212 = copyright registered

Key code 213 = guillemotleft guillemotright

Keycode 214 = masculine ordfeminine

Keycode 215 = AE AE

Keycode 216 = cent yen

Key code 217 = questiondown exclamdown

Key code 218 = onequarter onehalf threequarters

Keycode 220 = less greater bar

Key code 221 = plus asterisk asciitilde

Key code 227 = multiply Division

Keycode 228 = acircumflex

Key code 229 = ecircumflex

Keycode 230 = icircumflex

Key code 231 = ocircumflex

Keycode 232 = ucircumflex

Keycode 233 = ntilde

Keycode 234 = yacute

Key code 235 = Oslash ooblique

Key Code 236 = aring

Keycode 237 = ccedilla

Key code 238 = thorn

Keycode 239 = ETH

Key code 240 = diaeresis cedilla currency

Key code 241 = agrave atilde

Keycode 242 = egrave

Keycode 243 = igrave

Key code 244 = ograve otilde

Keycode 245 = ugrave

Keycode 246 = adiaeresis

Keycode 247 = ediaeresis

Keycode 248 = idiaeresis

Keycode 249 = odiaeresis

Keycode 250 = udiaeresis

Key code 251 = ssharp question backslash

Keycode 252 = asciicircum degree

Keycode 253 = 3 sterling

Keycode 254 = mode_switch

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.