JavaScript Refresh Page

you refresh the page using document.location.reload(). You can add the true keyword to force the reloaded page to come from the server (instead of cache). Alternatively, you can use the false keyword to reload the page from the cache.


<html>
<head>
<script type="text/JavaScript">
<!--
function timedRefresh(timePeriod) {
    setTimeout("location.reload(true);",timePeriod);
}
//   -->
</script>
</head>
<body onload="JavaScript:timedRefresh(15000);">
<p>This page will refresh .</p>
<p>page refreshes every few seconds!</p>
</body>
</html>