[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


IE8 Crashes with jQuery

Posted on 2011-10-14
Medium Priority
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

Assisted Solution

mrGreen earned 300 total points
ID: 36970037

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


Accepted Solution

Tehzar earned 700 total points
ID: 36970361
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

ID: 36970516
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 : https://github.com/jquery/jquery/commit/5c4a9cc001fcd803efa65ff95571c72cbdafbe69

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.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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)
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses
Course of the Month19 days, 9 hours left to enroll

873 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