<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>定时器</title>
<script type="text/javascript">
function clock(){
for( var i=5 ; i<=1 ; i--)
{
document.getElementById("clock").value = i;}
}
}
setInterval(clock,1000);
</script>
</head>
<body>
<form>
<input type="text" id="clock" size="50" />
</form>
</body>
</html>
ahao430
qq_面对疾风吧_03654725
健C
相关分类