Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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:
© 2015 Microsoft