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

href property

Contains the hypertext reference (HREF) of the URL.

This property is read-only.

Syntax

JavaScript
ptr = object.href

 

Property values

Type: DOMString

String containing the HREF of the URL.

Remarks

The href is the entire string of the URL.

See also

WorkerLocation

 

 

Show:
© 2015 Microsoft