Unexpected call to method or property access on IE8 in jQuery
html, internet-explorer-8, javascript, jquery
Solution
An error occurs when the jquery meets `<script>` tag inside the div#accordion. Try to move the tag `<script>` out
Problem
I have an error on my site: ``` 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 ``` Is this jQuery incompatible 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 ); } }); }, ```