The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague. -- Edsger Dijkstra
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 2008 Oct 19 13:57 PM. reply
Key codes are heavily dependent upon browsers. There's a full table available at:

http://unixpapa.com/js/key.html

There's also a library that normalizes keycodes into a consistent set, available at:

http://jonathan.tang.name/code/js_keycode

Jonathan Tang