Javascript Reference
Categories: OBJECT

javascript OBJECT BaseHref

@March 15, 2008, 1:22 a.m.
BaseHrefFirefox/Netscape/NN n/a IE 4(Win) Chrome/Safari/DOM n/a  

Read-only  

Returns the URL of the document containing the object element. Most commonly, the value is the same as the location.href of the current window. Note the unusual letter case.

 
Example
 
var where = document.getElementById("myObject").BaseHref;
 
Value

URL string.

 
Default

Current document's URL.


Powered by Linode.