Click to See Complete Forum and Search --> : Q: IE Refresh (F5)


Jeremy Davis
May 14th, 1999, 03:10 AM
My current app produces HTML reports that may be finished in a view such as IE, however these reports can take over an hour to produce, so I've been asked to display the reports in IE as they are made so the user can view parts of the report while they are still being generated.

I have written some JavaScript to keep reloading the HTML page every five seconds....

setTimeout("window.location.reload", 5000);
window.scrollTo(0, y);



However when ever the reload is executed the top of the page is always displayed. In IE when "refresh" or F5 is pressed the page is reloaded and the current page scroll position is retored. Can someone please tell me how I can store and reset the document position??

Thanks for any help at all.

Jeremy Davis