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