www.fgks.org   »   [go: up one dir, main page]

data Property
New for Windows Internet Explorer 8

[This documentation is preliminary and is subject to change.]

Sets or retrieves the body of the onmessage request.

Syntax

[ sMessage = ] object.data [ = sMessage ]

Possible Values

sMessageString that specifies or receives the body of the message, if specified by the sender; otherwise undefined.

The property is read/write. The property has no default value.

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.

Standards Information

This property is defined in HTML 5 World Wide Web link.

Applies To

event, Event Constructor

See Also

url


MSDN Library
Web Development
HTML and CSS
HTML and DHTML Reference
Properties
data (event)
Tags: 
 
Community Content