The most important single aspect of software development is to be clear about what you are trying to build. --Bjarne Stroustrup
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.
Replied
2007 May 17 14:28 PM
by
Adam
.
reply
That is because punctuation doesn't let off a key code of their own. A key code refers to the key the user pushed, not the output of the key. Example: a period (.) is keycode 190. If you make a > that would be the same keycode because it is triggered off the same key.