Window location.reload() Method

Definition and Usage

reload() The method reloads the current document.

reload() The function of the method is the same as the reload button in the browser.

Example

Reload the current document:

location.reload();

Try it yourself

Grammar

location.reload()

Parameters

None.

Return Value

None.

Browser Support

All Browsers Support location.reload():

Chrome IE Edge Firefox Safari Opera
Chrome IE Edge Firefox Safari Opera
Support Support Support Support Support Support