var num=0;
function startCount() {
document.getElementById('count').value=num;
num=num+1;
setTimeout("startCount()",1000);
}
var num=0;
function startCount() {
document.getElementById('count').value=num;
num=num+1;
setInterval("startCount()",1000);
}
Yexiaomo
相关分类