data property

Gets the data of the event.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 6.1Internet Explorer 9

 

Syntax

JavaScript

p = object.data

 

Property values

Type: String

The event data, or null.

Standards information

Remarks

If a user cancels a composition event, the data attribute is set to null on the final compositionupdate event.

See also

CompositionEvent
MessageEvent
TextEvent

 

 

Show:
© 2014 Microsoft