Auto refresh in js
by Chris Hughes
HTML
<p>This page will refresh in 5 seconds.</p>
JavaScript
window.onload = "AutoRefresh(500);"
alert('test');
function AutoRefresh(t) {
setTimeout("location.reload(true);", t);
}
by Chris Hughes
<p>This page will refresh in 5 seconds.</p>
window.onload = "AutoRefresh(500);"
alert('test');
function AutoRefresh(t) {
setTimeout("location.reload(true);", t);
}