浏览器不能运行脚本怎么办?急急急急急急急急~

来源:百度知道 编辑:UC知道 时间:2024/06/24 11:22:48
我正在学javascript,照着书上说的打了这样一段东西:
<!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=gb2312">
<title>无标题文档</title>
</head>

<body>
<h1>current date and time</h1>
<p>
<script language="javascript">
now=new Date();
localtime=now.toString();
utctime=now.toGMTString();
document.write("<b>Local time:</b>"+localtime+"<br>");
document.write("<b>UTC time:</b>+ utctime);
hours=now.getHours();
mins=now.getMinutes();
secs=now.getSeconds();
document.write("<h1>");
document.write(hours+"

你用的是什么脚本的 是asp的还是php的?

要是asp的或者php的都需要装iis的 装了之后才可以预览的

http://www.baidu.com/s?tn=myie2dg&ie=gb2312&bs=iss&sr=&z=&cl=3&f=8&wd=iis&ct=0
下载地址