var result = element.which; element.which = value;
The which property is provided for compatibility only. The keyCode property is more widely supported; however, the key property is recommended for international keyboard layouts and improved accessibility.
There are no standards that apply here.
Microsoft Developer Network: [Windows Internet Explorer API reference Article]