javascript LINK href
@March 15, 2008, 1:22 a.m.
href | Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1 |
Read/Write | |
Provides the URL specified by the element's href attribute. In IE/Windows, you can assign a new URL to this property to load in an alternate style sheet after the fact. |
|
Example | |
document.getElementById("styleLink").href = "altStyles.css"; |
|
Value | |
String of complete or relative URL. |
|
Default | |
None. |
Permanent URL:
http://javascript.gakaa.com/link-href.aspx
Powered by Linode.