http://devel.lubong.com/2007/06/24/javascript-how-to-force-page-to-reload/
They are using the window.location.reload(true); much like I am in my code.
However I did not realize why we use true instead of false. but he explains it so well:
The reload method accepts a boolean value, which, when it is true, causes the page to always fetch document from the server. When none is specified, it defaults to false, which may reload the page from its cache.
The issue I am having and if any of you know the answer is that in firefox on the second call to this I get a popup that says:
To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier.
If you have any ideas on why please post them to this blog posting.
No comments:
Post a Comment