test

来源:互联网 发布:cr173破解软件 编辑:程序博客网 时间:2024/05/19 14:35
<script type="text/javascript">var wait = 60;document.getElementById("btns").disabled = false;function time(o) {if(wait == 0) {o.removeAttribute("disabled");o.value = "发送验证码";wait = 60;} else {o.setAttribute("disabled", true);o.value = "重新发送(" + wait + ")";wait--;setTimeout(function() {time(o)},1000)}}document.getElementById("btns").onclick = function() {time(this);pay();}</script>

0 0