EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

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

 

 

Afficher:
© 2014 Microsoft