<body onload="startTime()"><script type="text/javascript"> function displayTime(){ var nowTime=new Date(); var strTime=nowTime.toLocaleString(); var timeDiv=document.getElementsById("timeDiv"); timeDiv.innerHTML=strTime; } function startTime(){ window.setInterval("displayTime()",1000); } </script> < div id="timeDiv"></div></body>請問怎么在瀏覽器什么都不顯示
html中的js問題
阿波羅的戰車
2018-07-30 10:14:37