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);
function reFresh() {
document.all("Button1").click();
}
window.setInterval("reFresh()",10000);
For HTML:-
setTimeout(function(){
$('#form1').submit();
}, 30000);