Monday 8 February 2021

Auto Submit Page With Data after Certain Interval

Code Behind(asp.net C#):-

After 10 Sec it will auto call the Button1 event from 

function reFresh() {
    document.all("Button1").click();
}
window.setInterval("reFresh()",10000);


For HTML:-

setTimeout(function(){
   $('#form1').submit();
}, 30000);