This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

data

Summary

The data from the server.

Property of apis/websocket/MessageEventapis/websocket/MessageEvent

Syntax

var result = element.html/elements/data;
element.html/elements/data = value;

Return Value

Returns an object of type StringString

Attributions

  • Mozilla Developer Network cc-by-sa-small-wpd.svg: Article