我的网站上有一个错误:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
Timestamp: Fri, 27 Jul 2012 08:54:50 UTC
Message: Unexpected call to method or property access.
Line: 5855
Char: 5
Code: 0
URI: http://garmonia-znakomstva.ru/js/jquery-1.7.2.js
这是jQuery与IE8不兼容还是我的一些错误?
打开时出错http://garmonia-znakomstva.ru/
代码
这是jQuery代码片段:
prepend: function() {
return this.domManip(arguments, true, function( elem ) {
if ( this.nodeType === 1 ) {
5855: this.insertBefore( elem, this.firstChild );
}
});
},
当jquery遇到div#手风琴内的<script>
标记时,会发生错误。尝试将标签<script>
移出