source property

Gets the window object that sent the message.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 6.1Internet Explorer 9

Syntax

JavaScript

p = object.source

Property values

Type: Object

The window of origin.

Standards information

Remarks

In cross-document messaging, the source attribute provides access to the window object that sent the message.

See also

MessageEvent

 

 

Show:
© 2014 Microsoft