我的javascript

//每个8秒自动执行一个button

//setInterval("方法","时间间隔") ——每隔几秒自动执行方法

<script>
function showLogin() {
document.getElementById("<%=Button1.ClientID%>").click();
}
setInterval("showLogin()", "8000");
</script>

猜你喜欢

转载自www.cnblogs.com/wahahaSunnyy/p/10862309.html