Changes

JavaScript Location Object

1 byte added, 17:05, 18 May 2007
JavaScript Location Object Methods
These JavaScript Location Object contains two methods that may be invoked from JavaScript. These are:
* '''location.reload()''' - reload reloads the current document. The same as pressing the ''Reload'' button in the browser window. If ''true'' is passed through as an argument (i.e ''location.reload(true)'') it forces a reload without using the browser cache (similar to shift clicking on the browser ''Reload'' button.
* '''location.replace()''' - replaces the current URL with the new URL specified as an argument (i.e ''location.replace("http://www.techotopia.com")''. Change does not get recording the browser's history.