Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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