automatic click button in javascript code example
Example: autoclick button if refresh page html
window.onload=function(){
document.getElementById("linkid").click();
};
window.onload=function(){
document.getElementById("linkid").click();
};