javascript AREA hostname

hostname NN 2 IE 3 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 = "www.royh.cn";
 
Value

String of hostname (server and domain).

 
Default

Depends on server.


247,Nickname,Homepage or email,Comments here,Add comment