The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time. -- Tom Cargill
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.
Reply
2007 Mar 01 22:59 PM
by
steve
.
reply
Ah, right. I forgot about that and had to go back and check.
The "Print Screen/SysRq" key appears to be a special case. All the keycodes above fire in at least the onKeyDown event. However the Print Screen Key does not fire the onKeyDown or onKeyPress events. It does sometimes fire the onKeyUp event when the page is freshly loaded. This behavior appears the same in IE6 and Firefox.
When it does fire (intermittently) the keycode is 44.