how to set a time to reloading page javascript code example
Example: js timer reload page
//BY JS
setTimeout(function() {
location.reload();
}, 30000);
//NOTE: YOU COULD DO IT BY HTML5 LIKE THIS:
<meta http-equiv="refresh" content="30"/>
//BY JS
setTimeout(function() {
location.reload();
}, 30000);
//NOTE: YOU COULD DO IT BY HTML5 LIKE THIS:
<meta http-equiv="refresh" content="30"/>