<form action="http://www.softii.com/" method="post" name="agree">
光臨新手教程:
條款若干........
<input type="submit" value="請認(rèn)真查看<服務(wù)條款和聲明> (15)" name="agreeb">
</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 = "請認(rèn)真查看<服務(wù)條款和聲明> (" + printnr +")";
}
}
//-->
</script>