Computer science education cannot make anybody an expert programmer any more than studying brushes and pigment can make somebody an expert painter. --Eric Raymond
Log In
Providing Microsoft .NET Articles and Code Samples since 2002
Home
→
Articles
→
Javascript Char Codes (Key Codes)
→
Comment
Home
Search
Articles
Categories
About
Welcome to my blog and project site for Microsoft.NET development.
I've been a full time .NET developer for ten years, but I didn't start my professional life as a programmer ...
more
Share/Print this page:
Please enter your reply for the comment shown below:
Post Your Comment
You may post without logging in or
login here
.
Display Name:
Required.
Email:
Required. Will not be shown. Used for identicon.
Comment:
Allowed tags: <quote></quote>, <code></code>, <b></b>, <i></i>, <u></u>, <red></red>
Please type text as shown in the image at left.
Posted
2010 Dec 12 16:01 PM
.
reply
I would like to point out that these are not standard across browsers for example:
- or _ is:
firefox: 109
IE : 189
Opera : 45
Chrome/Safari : 45(without shift) / 95 (with shift)
As you can see many keys can be drastically different.
there is a great article here about the maddness that is javascript key events:
http://unixpapa.com/js/key.html
Nick