Navigator 3.0
location.reload() location.reload(force)
A Boolean argument that specifies whether the document should be reloaded, even if the server reports that it has not been modified since it was last loaded. If this argument is omitted, or if it is false, then the method will only reload the full page if it has changed since last loaded.
Nothing.
The reload() method of the Location object reloads the document that is currently displayed in the window of the Location object. When called with no arguments, or with the argument false, it uses the If-Modified-Since HTTP header to determine whether the document has changed on the web server. If it has, it reloads the document from the server, and if not, it reloads the document from the cache. This is is the same action that occurs when the user clicks on Navigator's Reload button.
When reload() is called with the argument true, then it will always bypass the cache and reload the document from the server, regardless of the last-modified time of the document. This is the same action that occurs when the user shift-clicks on Navigator's Reload button.
file: /Techref/language/JAVA/SCRIPT/definitive/refp_216.htm, 5KB, , updated: 2019/10/14 15:00, local time: 2024/12/19 15:49,
3.15.140.19:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/techref/language/JAVA/SCRIPT/definitive/refp_216.htm"> [Chapter 21] Reference: Location.reload()</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.