HTML Parsing Error: Unable to modify the parent co

分类:Javascript| 发布:camnprbubuol| 查看: | 发表时间:2011/1/24

网页错误详细信息

用户代理: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.4; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; CIBA; .NET4.0C; .NET4.0E)
时间戳: Wed, 19 Jan 2011 01:26:58 UTC

消息: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
行: 0
字符: 0
代码: 0
URI: {$->>repath}Index.aspx

错误提示!
行: 0
字符: 0
错误: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
代码: 0
URL:

下载 limbox-1.64.zip 
覆盖以前的js问题就解决了:
<script type="text/javascript" src="js/mootools.js"></script>
 <script type="text/javascript" src="js/slimbox.js"></script>

近来一直在FF下弄WP博客,非常正常。直到有朋友告诉我博客在IE下打不开,会报错,自己一试,果然如此。这个错误在在IE8以下版本主要提示Internet Explorer无法打开站点,”确定“之后无法显示连接,IE8偶尔也会出现,不过IE8里会有错误描述:“用户代理: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media CenterPC 6.0; InfoPath.2),时间戳: Tue, 12 May 2009 13:49:16 UTC消息: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)行: 0字符: 0代码: 0。”

去微软知识库查了KB927917,其说明写道:“出现此问题的原因子容器 HTML 元素包含试图修改子容器的父容器元素的脚本。 脚本试图使用innerHTML  方法或  appendChild  方法修改父容器元素。例如如果 DIV 元素是在 BODY 元素中的子容器,并在 DIV 元素中的一个 SCRIPT 块尝试修改 DIV 元素的父容器的BODY 元素,可能会出现此问题”。wow!~~~感觉很高深,不理解,遂继续谷歌,发现在wordpress有人出现过同样的问题,仔细一看,原来是lightbox插件引起,将其停用并删除之,问题得到解决!换了lightbox-gallery插件替代,终于没出现错误了~\(≧▽≦)/~

365据说看到好文章不转的人,服务器容易宕机
原创文章如转载,请注明:转载自郑州网建-前端开发 http://camnpr.com/
本文链接:http://camnpr.com/archives/190.html