IE8 Crashes with jQuery

Posted on 2011-10-14
Last Modified: 2012-05-12

I have recently begun using jQuery for my website, and my users are reporting that IE8 crashes at random.  I've determined that it ONLY crashes when I include the jQuery library(ver. 1.6.2).
Are there any known errors with jQuery 1.6.2 when using IE8 ?
I need to get to the bottom of this because the whole reason I'm using jQuery is for the cross-browser javascript compliance.  Any help would be great!  thank you
Question by:chaseivey
    LVL 9

    Assisted Solution


    Does it crash when the file is just included? or when you are actually running some jQuery?

    LVL 9

    Accepted Solution

    Hi Chaseivey,

    Yes, there are known issues with jQuery 1.6.2 and IE8.  Most have found a resolution by reverting back to jQuery 1.5.2.  Here's the article



    Author Comment

    Thanks guys.

    mrGreen:  yes. it happens when i simply include the file.  Whether or not I run any jQuery.

    Tehzar: I thought so, because I know my code is tight. Believe it or not, I think I actually found the bug in the jQuery file.  

    I went to this link :

    And then I changed this line of the jQuery file:

    . . . ,m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0},m&&f.extend(p, . . .

    After 'margin:0', I put ',background:"none"'

    then i tried it all again.

    Seems to have fixed the crashing.  I'm gonna give it a few days and check.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Adobe Dreamweaver CC 2015

    Adobe Dreamweaver Creative Cloud is used by web designers and front-end developers and allows you to visualize your site in real-time as you code. This course covers exam objectives for the Adobe Certified Associate (ACA) certification.

    Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
    Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
    The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now