IT. Expert System.

Java Script

Keycodes


Keycodes

The following table lists the Javascript keycodes:

Key Pressed Key Code
Backspace 8
Tab 9
Enter 13
Shift 16
Ctrl 17
Alt 18
Pause/Break 19
Caps Lock 20
Escape 27
Space Bar 32
Page Up 33
Page Down 34
End 35
Home 36
Left Arrow 37
Up Arrow 38
Right Arrow 39
Down Arrow 40
Prnt Scrn 44
Insert 45
Delete 46
0 48
1 49
2 50
3 51
4 52
5 53
6 54
7 55
8 56
9 57
a 65
b 66
c 67
d 68
e 69
f 70
g 71
h 72
i 73
j 74
k 75
l 76
m 77
n 78
o 79
p 80
q 81
r 82
s 83
t 84
u 85
v 86
w 87
x 88
y 89
z 90
L windows key 91
R windows key 92
Select Key 93
Numpad 0 96
Numpad 1 97
Numpad 2 98
Numpad 3 99
Numpad 4 100
Numpad 5 101
Numpad 6 102
Numpad 7 103
Numpad 8 104
Numpad 9 105
Numpad * (Multiply) 106
Numpad + (Add) 107
Numpad - (Subtract) 109
Numpad . (Period) 110
Numpad / (Divide) 111
F1 112
F2 113
F3 114
F4 115
F5 116
F6 117
F7 118
F8 119
F9 120
F10 121
F11 122
F12 123
Num Lock 144
Scroll Lock 145
; (Semicolon) 186
= (Equal Sign) 187
, (Comma) 188
- (Dash) 189
. (Period) 190
/ (Forward Slash) 191
` (Grave Accent) 192
[ (Open Bracket) 219
\ (Backslash) 220
] (Close Braket) 221
' (Single Quote) 222

The following HTML and Javascript code can be used to verify keycodes:

<html>
<head>
<title>Key Codes</title>
<script>
document.onkeydown = checkKeycode
  
function checkKeycode(e)
{
  var keycode;
  if (window.event)
    keycode = window.event.keyCode;
  else if (e)
    keycode = e.which;
  alert("Keycode: " + keycode);
}
</script>
</head>
<body> </body> </html>


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 174 / 158797862. Delta: 0.01612 с