nsIDOMLocation

IID:a6cf906d-15b3-11d2-932e-00805f8add32
Inherits From:nsISupports

Properties

DOMString 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.

DOMString host

DOMString hostname

DOMString href

DOMString pathname

DOMString port

DOMString protocol

DOMString search


Methods

void assign ( DOMString url ) [noscript] void reload ( PRBool forceget ) void replace ( DOMString url ) DOMString toString ( )

void assign ( DOMString url )

Arguments:
url

void reload ( PRBool forceget )

Arguments:
forceget

void replace ( DOMString url )

Arguments:
url

DOMString toString ( )


References

This interface is the type of the following properties:

nsIDOMNSDocument.location, nsIDOMWindowInternal.location

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com