how to refresh a page with javascript after 5 seconds 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"/>