This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

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