JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

URL.host Property

Name

URL.host Property---the hostname and port portions of a URL

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

URL.host

Description

host is a read/write string property of the URL object. It specifies the hostname and port portions of a URL. For example, the host of the following (fictitious) location is "www.ora.com:1234".

http://www.ora.com:1234/catalog/search.html?JavaScript#result

See Also

"Area", "Document.links[]", "Link", "URL", "Window.location"


Previous Home Next
URL.hash Book Index URL.hostname

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell
This HTML Help has been published using the chm2web software.