METHOD:  Location::reload

The reload method forces a reload of the window's current document, i.e. the one contained in the Location.href property. It behaves in exactly the same way as the browser's reload button which, by default reloads from the cache. If, however, the user has specified that the server be checked every time for an updated version, then the reload method will do the same. You can force an unconditional HTTP GET of the document from the server by supplying 'true' for the parameter, but this should only be done if you believe that disk and memory caches are off or broken, or you believe the server has an updated version.
In the following example the event handler calls the reload method in response to the clicking of a button:

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information