JavaScript Location method: reload()
[this page | pdf | back links]
The reload() method (when applied to Location
objects in the JavaScript
BOM) reloads the
current document.
It generally does the
same as the browser’s reload button. However, it is possible to specify where
the reload comes from, see below.
It
has the following syntax with the following parameters. It does not return a
value.
location.reload(get)
Parameter
|
Required / Optional
|
Description
|
get
|
Optional
|
Boolean specifying
whether to reload the current page from the server (true) or from the cache (false,
is the default)
|
NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)