| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 2276 人关注过本帖
标题:HTML Parsing Error: Unable to modify the parent container element befo ...
只看楼主 加入收藏
to_change
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2011-1-4
收藏
 问题点数:0 回复次数:0 
HTML Parsing Error: Unable to modify the parent container element before the chi
IE8提示消息:
 HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
行: 0
字符: 0
代码: 0
URI: http://127.0.0.1:8080/***/***/***.do
相信大家在未来或者已经遇到过这个问题
根据IE8的错误提示来看,应当是元素尚未加载完必时对其进行了操作。
解决的办法就是将一些加载时执行的方法修改为在页面加载完成时执行,或者在指定的一个时间执行
document.readyState是页面加载的状态,当其值为complete时执行你的方法就ok了
还有setTimeout('',3000)将你的方法延时几秒钟执行,也ok了
但是为什么IE8会有如此的bug,让人费解。

搜索更多相关主题的帖子: 时间 办法 元素 
2011-01-04 17:26
快速回复:HTML Parsing Error: Unable to modify the parent container element ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.017095 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved