Language References
Contains information on the current URL.
The href property contains the entire URL, and the other properties contain portions of it. Location.href is the default property for the location object. For example, setting location='http://microsoft.com' is equivalent to setting location.href="'http://microsoft.com'.
By setting any of the following properties, the browser will initiate an immediate navigation to the specified URL.
location Members