admin管理员组文章数量:1315246
I have an error on my site:
Webpage error details
User Agent: Mozilla/4.0 (patible; 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: .7.2.js
Is this jQuery inpatible with IE8 or some my error?
Error occuring while opening /
CODE
This is jQuery code fragment:
prepend: function() {
return this.domManip(arguments, true, function( elem ) {
if ( this.nodeType === 1 ) {
5855: this.insertBefore( elem, this.firstChild );
}
});
},
I have an error on my site:
Webpage error details
User Agent: Mozilla/4.0 (patible; 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
Is this jQuery inpatible with IE8 or some my error?
Error occuring while opening http://garmonia-znakomstva.ru/
CODE
This is jQuery code fragment:
prepend: function() {
return this.domManip(arguments, true, function( elem ) {
if ( this.nodeType === 1 ) {
5855: this.insertBefore( elem, this.firstChild );
}
});
},
Share
Improve this question
edited Jan 17, 2014 at 11:04
Aron Rotteveel
83.2k17 gold badges105 silver badges129 bronze badges
asked Jul 27, 2012 at 8:56
Suzan CiocSuzan Cioc
30.1k64 gold badges221 silver badges390 bronze badges
7
- 3 Always include the relevant code and markup in the question itself, don't just link. Links can rot (and links like that one usually do), and people shouldn't have to follow links to random websites in order to help you. More: meta.stackexchange./questions/118392/… – T.J. Crowder Commented Jul 27, 2012 at 9:00
- "Is this jQuery inpatible with IE8...?" Of course not. – T.J. Crowder Commented Jul 27, 2012 at 9:02
- I think you might find your answer in here : stackoverflow./questions/2275702/jquery-first-child-of-this – mnmnc Commented Jul 27, 2012 at 9:02
-
Meh, the error points out to
.prepend
, yet there is no custom code that calls.prepend
– Esailija Commented Jul 27, 2012 at 9:05 -
1
I have so far nailed it to
prependTo(this.headers)
in the jQuery UI accordion code... so it's being used wrong or just a buggy plugin – Esailija Commented Jul 27, 2012 at 9:13
1 Answer
Reset to default 9An error occurs when the jquery meets <script>
tag inside the div#accordion.
Try to move the tag <script>
out
本文标签: javascriptUnexpected call to method or property access on IE8 in jQueryStack Overflow
版权声明:本文标题:javascript - Unexpected call to method or property access on IE8 in jQuery - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741981178a2408404.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论