javascript让按钮倒计时10秒以后才能提交
<script language=javascript>
function countDown(secs,surl){
//alert(surl);
tiao.innerText=secs;
if(--secs>0){
setTimeout("countDown("+secs+",'"+surl+"')",1000);
}
else{
location.href=surl;
}
}
</script>
<br><span id="tiao"></span>秒后自动跳转到PHPINFO页面<script language=javascript>countDown(3,'phpinfo.php');</script>