which
Property of dom/KeyboardEventdom/KeyboardEvent
Syntax
var result = element.which;
element.which = value;
Notes
Remarks
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.
Syntax
Standards information
There are no standards that apply here.
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]