javascript location reload( )

reload( )NN 3 IE 4 DOM n/a  

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.

 
Parameters
 
  • 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.
 
Returned Value

None.


1209,Nickname,Homepage or email,Comments here,Add comment