Location

This object is available to unprivileged JavaScript. It implements the following interfaces:

Properties

String hash

These properties refer to the current location of the document. This will correspond to the URI shown in the location bar, which can be different from the documentURI of the document.

String host

String hostname

String href

String pathname

String port

String protocol

String search


Methods

void assign ( String url ) void reload ( boolean forceget ) void replace ( String url ) String toString ( )

void assign ( String url )

Arguments:
url

void reload ( boolean forceget )

Arguments:
forceget

void replace ( String url )

Arguments:
url

String toString ( )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com