时间:2021-07-01 10:21:17 帮助过:39人阅读
window.onload = function(){ var test = document.createElement("div"); test.innerHTML = "敬业"; document.body.appendChild(test); function tab(){ test.innerHTML==("敬业")?(test.innerHTML="自强"):(test.innerHTML="敬业"); setTimeout(tab,1000); } tab();}