This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

window.location.reload

Summary

Refresh/reload the current page, optionally forcing a re-download of the content.

Method of apis/locationapis/location

Syntax

var  = window.location.reload(forceget);

Parameters

forceget

Data-type
String

Boolean, true forces a download the page contents again.

Return Value

Returns an object of type

Examples

//force the page to reload/refresh
window.location.reload();

Related specifications

Window Object 1.0
W3C Working Draft