how to set time in window.location.reload() code example
Example 1: location reload after 2 seconds
window.setTimeout(function(){location.reload()},3000)
Example 2: reload page jquery timer
setTimeout(function(){
window.location.reload(1);
}, 5000);