Popular Posts

Thursday, 7 July 2011

Auto refresh ASP.Net Page

<html>
<head>

<script type="text/JavaScript">

function AutoRefresh(ValueOfTimeOut)
{
            setTimeout("location.reload(true);",timeoutPeriod);
}

</script>

</head>

<body onload="JavaScript: AutoRefresh (5000);">
<p>After 5 seconds this page will automatically refresh.</p>
</body>
</html>

No comments:

Post a Comment