when refresh page count start timer 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"/>