A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/KeyboardEvent/charCode below:

charCode ยท WebPlatform Docs

charCode

Property of dom/KeyboardEventdom/KeyboardEvent

Syntax
var result = element.charCode;
element.charCode = value;
Notes Remarks

The charCode property represents the character code during the onkeypress event and the unmodified scan code of the key during onkeydown and onkeyup events. To detect whether the Alt, Ctrl, Meta, or Shift key is also pressed, see the altKey, ctrlKey, metaKey, or shiftKey property of the event. The charCode property is provided for compatibility only. The latest version of the Document Object Model (DOM) Events specification defines a key property instead.

Syntax Standards information

There are no standards that apply here.

Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4