1)
To Refreshing page through Get request
2)
To Refreshing page through last request (Get or Post)
<input type="button"
value="Reload
Page" onClick="window.location.reload()">
3) To reload page through browser cache
<input type="button"
value="Reload
Page" onClick="history.go(0)">
4)
To Refreshing Periodically
function refreshPeriodic()
{
location.reload();
timerID=setTimeout("refreshPeriodic()",30000);
}
timerID=setTimeout("refreshPeriodic()",30000);
No comments:
Post a Comment