Javascript Reference
Categories: AREA

javascript AREA hostname

@Aug. 28, 2008, 4:01 p.m.
hostname Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1  

 

Read/Write  

Provides the hostname of the server (i.e., a two-dot address consisting of server name and domain) of the destination document for the area link. The hostname property does not include the port number.

 
Example
 
document.links[2].hostname = "javascript.gakaa.com";
 
Value

String of hostname (server and domain).

 
Default

Depends on server.


Powered by Linode.