在我给页面中传递2个参数,就返回这个错  我的那个页面  就一框架啥都没 
就报了
消息: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
行: 0
字符: 0
代码: 0
URI: http://www.lifeya.com/index.php/MyInvitation/index/xiangxi/26304401.%20L.T.%20http:%5E%5Eprofile.img.mixi.jp%5Ephoto%5Emember%5E44%5E1%5E26304401_1619483854s.jpg/abc/29385005.%20appler@iPad買った.%20http:%5E%5Eprofile.img.mixi.jp%5Ephoto%5Emember%5E50%5E5%5E29385005_1462979441s.jpg--25527361.%20undefined.%20null--24213888.%20まー.%20http:%5E%5Eprofile.img.mixi.jp%5Ephoto%5Emember%5E38%5E88%5E24213888_3633773797s.jpg--23863079.%20undefined.%20null--23109519.%20はぁか.%20http:%5E%5Eprofile.img.mixi.jp%5Ephoto%5Emember%5E95%5E19%5E23109519_3628928092s.jpg--929315.%20ミヤノツル.%20http:%5E%5Eprofile.img.mixi.jp%5Ephoto%5Emember%5E93%5E15%5E929315_3706899038s.jpg页面代码是
.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>shoumian</title>
</head><frameset rows="100,*" frameborder="no" border="0" framespacing="0">
  <frame src="http://www.lifeya.com/index.php/MyInvitation/top" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />  <frame src="http://www.lifeya.com/index.php/MyInvitation/index/xiangxi/{$xiangxi}/abc/{$abc}" name="mainFrame" id="mainFrame" title="mainFrame" />
</frameset>
<body>
</body>
</html>
为啥会报这个错

解决方案 »

  1.   

    问题不在这段代码,而是src跳转后的代码中操作了还未加载完成的元素。
    要注意代码执行和元素加载的顺序。
      

  2.   

    http://www.lifeya.com/index.php/MyInvitation/tophttp://www.lifeya.com/index.php/MyInvitation/index/xiangxi/{$xiangxi}/abc/{$abc}
    的内容是什么,错误有可能在这两个里面。
      

  3.   

    我遇到过 。原因是 iframe的src里面的地址不标准如:http://fc.aa.com.cn/cx/commonsearch/CommonSearch.html/pageId=xx这个就会报错,因为/pageId非法,把/改成?就好了你的应该也是类似的问题,你检查检查