Ctrl+/
IE11
F11
ESC
PgUp
PgDn
<HTML>
<HEAD>
<TITLE>用户注册时的申请按钮等待功能</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
</HEAD>
<BODY bgColor=#fef4d9><BR><BR>
<FORM name=agree action="" method=post>
<CENTER><INPUT type=submit value="请认真查看<服务条款和声明> (15 秒后继续)" name=agreeb>
<INPUT onclick=history.back(-1) type=reset value=" 我不同意 ">
</CENTER></FORM>
<SCRIPT language=javascript>
<!--
var secs = 15;
document.agree.agreeb.disabled=true;
for(i=1;i<=secs;i++) {
window.setTimeout("update(" + i + ")", i * 1000);
}
function update(num) {
if(num == secs) {
document.agree.agreeb.value ="同意协议";
document.agree.agreeb.disabled=false;
else {
printnr = secs-num;
document.agree.agreeb.value = "请认真查看<服务条款和声明> (" + printnr +" 秒后继续)";
</SCRIPT>
</BODY>
</HTML>
CSS代码...
JS代码...
xxxxxxxxxx