IE请求到WEB页后,鼠标右键-查看源文件,里面的代码贴一下看看另外,可简化下:<html>
<head> <title>A test page </title> </head>
<body>
<script>
<!--
todayDate = new Date();
date = todayDate.getDate();
month= todayDate.getMonth() +1;
year= todayDate.getFullYear();
document.write("今天是<br>" + year + "年" + month + "月" + date +"日<br>");
//-->
</script>
</body>
</html>
<head> <title>A test page </title> </head>
<body>
<script>
<!--
todayDate = new Date();
date = todayDate.getDate();
month= todayDate.getMonth() +1;
year= todayDate.getFullYear();
document.write("今天是<br>" + year + "年" + month + "月" + date +"日<br>");
//-->
</script>
</body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货