The reload() method is used to reload the current document.
The reload() method does the same as the reload button in your browser.
By default, the reload() method reloads from the cache, but by you can force the the reload to get the page from server by setting the forceGet parameter to true.
![]()
The reload() method is supported in all major browsers.
| Parameter | Type | Description |
|---|---|---|
| forceGet | Boolean | Optional. default false which reloads the page from the cache. Set this paramter to true if you want to force the browser to get the page from the server |
No return value
Location Object
Your message has been sent to W3Schools.