Name
reload( ) — NN 3 IE 4 DOM 1
Synopsis
reload([unconditional
])
Performs a hard reload of the document associated with the location
object. This kind of reload resets form elements to their default
values (for a soft reload, use history.go(0)
). By
default the reload( )
method performs a
conditional-GET action, which retrieves the file from the browser
cache if the file is still in the cache (and the cache is turned on).
To force a reload from the server, force an
unconditional-GET
by adding the
true
Boolean parameter.
Returned Value
None.
Parameters
-
unconditional
An optional Boolean value. If
true
, the browser performs an unconditional-GET
to force a reload of the document from the server, rather than the browser cache.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.