Visit Mozilla.org

Talk:DOM:event.keyCode

From MDC

Regarding keyCode / charCode / which:

Actually, for keypress events in Gecko/20061025 at least, charCode and which seem to always have the same value.