javascript BASE href
| href | NN 6 IE 4 DOM 1 |
|
|
Read/Write |
|
Provides the URL of a document whose server path is to be used as the base URL for all relative references in the document. This is typically the URL of the current document, but it can be set to another path if it makes sense to your document organization and directory structure. |
|
| Example | |
document.getElementById("myBase").href = "http://javascript.gakaa.com";
|
|
| Value | |
|
String of complete or relative URL. |
|
| Default | |
|
Current document pathname. |
|
Previous: javascript BASE target
299,Nickname,Homepage or email,Comments here,Add comment
