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.

data property

Sets or retrieves the body of the onmessage request.

Internet Explorer 8

 

Syntax

JavaScript
p = object.data

 

Property values

Type: String

the body of the message, if specified by the sender; otherwise undefined.

Remarks

The data property contains the value passed to postMessage. Before trusting the data, check the url property of the message request to determine its source.

See also

event
url

 

 

Show:
© 2014 Microsoft