Location reload() Method
Example
Reload the current document:
location.reload();
Definition and Usage
The reload() method is used to reload the current document.
The reload() method does the same as the reload button in your browser.
Browser Support
| Method | |||||
|---|---|---|---|---|---|
| reload() | Yes | Yes | Yes | Yes | Yes |
Syntax
location.reload()
Return Value
| No return value |
❮ Location Object
