Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the latest jQuery version to work with IE8?

Tags:

I'm working on a Bootstrap 3 site and I was having some issues with the jQuery version that I was using (1.9.1). I upgraded to 2.1.0 and my issues are gone, however, this breaks IE8 compatibility since 2.1.0 doesn't support IE8 anymore and jQuery seizes to work in this browser.

I can't use 1.1.0 because Bootstrap supports 1.9.0 or higher (also I'll have my issues back).

So the question is: Which is the highest version of jQuery that works with IE8?

The jQuery Browser Support Page only lists 1.11.0 and 1.9.1 so that's not helping.

like image 204
Alexander Rechsteiner Avatar asked Feb 27 '14 15:02

Alexander Rechsteiner


People also ask

Does jQuery 2.0 support IE?

Those improvements come at a price, though: jQuery 2.0 won't support Internet Explorer 6, 7, or 8. At the same time, the jQuery team will stop supporting jQuery 1. x in an array of environments, including apps for Firefox OS, Chrome OS, Windows 8 Store, and BlackBerry 10 WebWorks apps.

Is jQuery supported by all browsers?

Cross-browser compatibility — jQuery supports older browsers which do not do well with modern tools, frameworks or libraries. jQuery-powered applications work well on all browsers.

Does Internet Explorer support jQuery?

jQuery is only supported in Internet Explorer 9+, so if you're in an older version, you're out of luck perhaps, with a newer version. BUT... taken from the jQuery site... If you need to support older browsers like Internet Explorer 6-8, Opera 12.1x or Safari 5.1+, use jQuery 1.12.


1 Answers

IE8 support was dropped in jQuery 2.x, so you will want any version beginning with 1 that satisfies your plugin's version dependencies.

I would try the latest 1.11 or 1.10 first. 1.11 was released in early 2014. 1.10 was released mid-2013.

There may be some confusion with comparing minor version numbers. 1.11 > 1.10 > 1.9. We're comparing the second number as a number. Don't make the mistake of treating each digit as a value to compare.

  • See also http://blog.jquery.com/2013/04/18/jquery-2-0-released/
  • All jQuery versions: http://code.jquery.com/jquery/

Update: latest version compatible with IE8 is now 1.11.3 http://blog.jquery.com/2015/04/28/jquery-1-11-3-and-2-1-4-released-ios-fail-safe-edition/

like image 195
jwal Avatar answered Nov 12 '22 15:11

jwal