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.

url property

Sets or retrieves the fully qualified URL of the document that fired the event.

Internet Explorer 8

 

Syntax

JavaScript

p = object.url

 

Property values

Type: String

the URL string.

Remarks

To see if two documents are in the same domain, compare url with the location.hostname property.

See also

event
origin

 

 

Show:
© 2017 Microsoft