how to set a timer to refresh the page in js 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"/>