This documentation is archived and is not being maintained.
hostname property
Sets or retrieves the host name part of the location or URL.
Syntax
| JavaScript | p = object.hostname |
Property values
Type: String
the host and domain name, or the numerical IP address.
Remarks
If no host name is available, this property returns an empty string.
See also
-
a
-
area
-
location