Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

origin property

Gets the Uniform Resource Identifier (URI) of the document of origin.

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


HRESULT value = object.get_origin(* p);

Property values

Type: BSTR

The URI of origin.

Standards information


In cross-document messaging, the IDOMMessageEvent::origin attribute represents the originating URI of the document that sent the message (typically the URI includes the scheme, host name, and port of the document, but not its path or fragment identifier).



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.