Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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:
© 2015 Microsoft