为什么内容在页面没有显示
JScript code<html><head> <title>JS时间累加</title> <meta http-equiv = "refresh" content = "1"> <script language="text/javascript"> function getTime() { var objdate = new Date(); var hour = objdate.getHours(); var minute = objdate.getMinutes(); var second = objdate.getSeconds(); var time = hour +":" minute +":"+second; document.write("当前时间为: "+ time); } </script></head><body></body></html>
------解决方案--------------------
查询谷 - www.chaxungu.com
为什么内容在页面没有显示,该如何解决
编辑:chaxungu时间:2022-10-02 23:16:35分类:web开发