Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

inputMethod property

Gets a value that describes how text is entered.

Internet Explorer 9

 

Syntax

JavaScript

p = object.inputMethod

 

Property values

Type: Integer

DOM_INPUT_METHOD_UNKNOWN (0x00)

The text input method is unknown.

DOM_INPUT_METHOD_KEYBOARD (0x01)

Text is entered by using a keyboard.

DOM_INPUT_METHOD_PASTE (0x02)

Text is pasted from the Clipboard.

DOM_INPUT_METHOD_DROP (0x03)

Text is entered as part of a drag-and-drop operation.

DOM_INPUT_METHOD_IME (0x04)

Text is entered through an IME.

DOM_INPUT_METHOD_OPTION (0x05)

Text is selected from options in a form.

DOM_INPUT_METHOD_HANDWRITING (0x06)

Text is entered by using pen and tablet device.

DOM_INPUT_METHOD_VOICE (0x07)

Text is entered by voice recognition software.

DOM_INPUT_METHOD_MULTIMODAL (0x08)

Text is entered by multiple input methods in combination.

DOM_INPUT_METHOD_SCRIPT (0x09)

Text is entered by a script operation.

See also

TextEvent
data

 

 

Show:
© 2017 Microsoft