whlei

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Constellation</title>
<script type="text/javascript">
function timer()
{
    var time=new Date();
    document.getElementById("currentTime").innerHTML="当前时间:"+time;
}
setInterval("timer()", 1000);
</script>
</head>
<body>
<div  id="currentTime">当前时间:时间载入中......</div>
<div>
</body>
</html>

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-22
  • 2021-12-22
  • 2022-02-02
  • 2022-12-23
  • 2021-12-07
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-06
  • 2022-01-17
  • 2021-07-01
  • 2021-11-25
  • 2022-12-23
相关资源
相似解决方案