location
Gets the URL of the current document.
Syntax
loc = document.location
Parameters
Example
Notes
document.location works the same as document.URL. Both are read-only properties unlike window.location, which can be set. Since the document object represents a single document or URL, its location cannot be changed.
Specification
Netscape Communications http://developer.netscape.com |