LATEST >>

Welcome Here And Thanks For Visiting. Like Us On Facebook...

EXEIdeas – Let's Your Mind Rock » HTML-CSS-PHP-JavaScript / JavaScript Codes » List Of All Keyboard Keys JavaScript Char Codes (Key Codes)

List Of All Keyboard Keys JavaScript Char Codes (Key Codes)

List Of All Keyboard Keys JavaScript Char Codes (Key Codes)

As we previously shared an article about “How To Stop Working Of A Desired Keyboard Keys On A WebPage Using JavaScript?“. So after publishing this, it become a need to share the list of key codes that will be used there so we think and now sharing the whole list of keyboards keys code that can be use in our previous scriot or you can use it anywhere else in any JavaScript or JQuery codes where ever you need it.

Javascript is often used on the browser client side to perform simple tasks that would otherwise require a full postback to the server. Many of those simple tasks involve processing text or characters entered into a form element on a web page, and it is often necessary to know the JavaScript keycode associated with a character. Here is a reference.

KeyCode
backspace8
tab9
enter13
shift16
ctrl17
alt18
pause/break19
caps lock20
escape27
page up33
page down34
end35
home36
left arrow37
up arrow38
right arrow39
down arrow40
insert45
delete46
048
149
250
351
452
553
654
755
856
957
a65
b66
c67
d68
e69
f70
g71
h72
i73
j74
k75
l76
m77
n78
o79
p80
q81
r82
s83
t84
u85
v86
w87
x88
y89
z90
left window key91
right window key92
select key93
numpad 096
numpad 197
numpad 298
numpad 399
numpad 4100
numpad 5101
numpad 6102
numpad 7103
numpad 8104
numpad 9105
multiply106
add107
subtract109
decimal point110
divide111
f1112
f2113
f3114
f4115
f5116
f6117
f7118
f8119
f9120
f10121
f11122
f12123
num lock144
scroll lock145
semi-colon186
equal sign187
comma188
dash189
period190
forward slash191
grave accent192
open bracket219
back slash220
close braket221
single quote222

Last Word:

This is the most used keyboard keys codes that are used in JavaScript. Be with us so we will share an online tool to avoid finding your desired key code here in the table. If you liked it then share it with your friends. If you have any query then feel free to contact us.

You Like It, Please Share This Recipe With Your Friends Using...

Be the first to write a comment.

Leave a Reply

Your email address will not be published. Required fields are marked *