为什么又写一遍document.getElementById("time").innerHTML=num;
function count()
{
num--;
document.getElementById("time").innerHTML=num;
if(num==0)
{
location.assign("http://wwww.baidu.com");
}
}
setInterval("count()",1000);
想问为什么又写一遍document.getElementById("time").innerHTML=num;