Gets the numeric code of a key that is pressed.
The key code.
There are no standards that apply here.
The which property is provided for compatibility only. The keyCode property is more widely supported; however, we recommend the key property for international keyboard layouts and improved accessibility.
Build date: 1/23/2013