I have this code here, but it is always reloading the page.
script type="text/javascript">
function autoRefreshPage()
{
window.location = window.location.href;
setInterval('autoRefreshPage()', 10000);
}
I wanted it to take 10 seconds to refresh the page when I clicked.