locale property

Gets the locale name for the event.

Internet Explorer 9

 

Syntax

JavaScript

p = object.locale

 

Property values

Type: String

the locale name.

Remarks

For trusted events, the locale property is set for keyboard and Input Method Editor (IME) input only. The locale name is set from the default LCID of the thread, en-US, for example.

See also

CompositionEvent
KeyboardEvent
TextEvent

 

 

Show:
© 2014 Microsoft