javascript A hostname
@Aug. 28, 2008, 4:03 p.m.
hostname | Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1 |
|
Read/Write |
This is the hostname of the server (i.e., a "two-dot" address consisting of server name and domain) of the destination document for the A link. The hostname property does not include the port number. |
|
Example | |
document.getElementById("myLink").hostname = "javascript.gakaa.com"; document.links[2].hostname = "javascript.gakaa.com"; |
|
Value | |
String of hostname (server and domain). |
|
Default | |
Depends on server. |
Permanent URL:
http://javascript.gakaa.com/a-hostname.aspx
Powered by Linode.