javascript A href
@May 11, 2009, 8:01 a.m.
href | Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM 1 |
|
Read/Write |
Provides the URL specified by the element's href attribute. |
|
Example | |
document.getElementById("myLink").href = "http://javascript.gakaa.com"; document.links[2].href = "http://javascript.gakaa.com"; |
|
Value | |
String of complete or relative URL. |
|
Default | |
None. |
Permanent URL:
http://javascript.gakaa.com/a-href.aspx
Powered by Linode.