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



HRESULT value = object.get_source(IHTMLWindow2** p);

Property values

Type: Object

The window of origin.

Standards information


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



Community Additions

© 2015 Microsoft