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