page reload on button click with time code example
Example 1: reload pageon button click
<button type="button" onClick="window.location.reload();">Close</button>
Example 2: autoclick button if refresh page html
window.onload=function(){
document.getElementById("linkid").click();
};