读书人

IE5.5和IE6上Internet Explorer Scrip

发布时间: 2012-09-17 12:06:51 作者: rapoo

IE5.5和IE6下Internet Explorer Script Error问题
IE5.5和IE6下Internet Explorer Script Error问题:
当代码中加入<script src="js/calendar.js" type="text/javascript"></script>时,
发生错误:Internet Explorer Script Error,an error has occured in the script on this page! 。去掉它就好了,请问这个问题怎样解决啊,谢谢赐教。

网页的代码如下:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="WebApplication1.test" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
<link href="style/StyleSheet.css" rel="stylesheet" type="text/css" />

<script src="js/calendar.js" type="text/javascript"></script></head>
<body>
<form id="form1" runat="server">
<div><center>
<div class="zongdiv">
<div class="daodiv"></div>
<!--第一行-->





</div>

</center>
</div>

</form>
</body>
</html>


[解决办法]
calendar.js的代码贴出来看看
[解决办法]
还有IE5.5???
[解决办法]
IE的Quirks Modes就是IE5.5

读书人网 >CSS

热点推荐