My goal is to refresh the browser window without needing to hit the server. I am considering using javascript for this task. Below is the code that I have, but I'm not entirely clear on what it does!
<body onload="JavaScript:AutoRefresh(5000);">
<script type="text/JavaScript">
<!--
function AutoRefresh(t) {
setTimeout("location.reload(true);", t);
}
// -->
</script>
If this code is indeed refreshing the browser client-side, then fantastic! If not, what would be the correct approach?