Tuesday, August 25, 2009

How to automatically reload the page every 5 minutes

There are a few ways to ensure that a page gets automatically refreshed - this one seems to work the best across multiple browsers.

<SCRIPT language=JavaScript>
//Refresh screen every 5 minutes.
setInterval('location.reload();', "300000");
</SCRIPT>

0 comments: