when i click on a button then form page is auto refresh why code example
Example: autoclick button if refresh page html
window.onload=function(){
document.getElementById("linkid").click();
};
window.onload=function(){
document.getElementById("linkid").click();
};