<html>
<script language="javascript">window.onload=function()
{
var timer=setInterval("showTime()",1000);
}var num=10;
function showTime()
{
if(num<0)
clearinterval(timer);
document.getElementById("timer").value=num;
num--;
}
</script>
<body>
<input id="timer" type="text"/>
</body>
</html>
<script language="javascript">window.onload=function()
{
var timer=setInterval("showTime()",1000);
}var num=10;
function showTime()
{
if(num<0)
clearinterval(timer);
document.getElementById("timer").value=num;
num--;
}
</script>
<body>
<input id="timer" type="text"/>
</body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货