
Using Javascript's Location Object to Work with URLs
Using Javascript's Location Object to Work with URLsLearn how to use the JavaScript Location object to read and change URLs, as well as how to reload (or refresh) the page. JavaScript gives you many ways to access and change the current URL that is displayed in the visitor's browser. All these techniques use the Location object, which is itself a property of the Window object.