与IE8一起使用的最新jQuery版本是什么? [英] What is the latest jQuery version to work with IE8?

查看:118
本文介绍了与IE8一起使用的最新jQuery版本是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Bootstrap 3网站,而且我在使用jQuery版本时遇到了一些问题(1.9.1)。我升级到2.1.0并且我的问题已经消失,但是,这打破了IE8兼容性,因为2.1.0不再支持IE8并且jQuery抓住了在这个浏览器中工作。

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.

我不能使用1.1.0,因为Bootstrap支持 1.9.0或更高版本 (我也会回来问题)。

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

所以问题是:哪个是与IE8一起使用的jQuery的最高版本?

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

jQuery浏览器支持页面仅列出1.11.0和1.9.1,因此没有帮助。

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

推荐答案

在jQuery 2.x中删除了IE8支持,因此您需要任何以1开头的版本来满足您的插件的版本依赖性。

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

我会先尝试最新的1.11或1.10。 1.11于2014年初发布.1.10于2013年中期发布。

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

对于较小的版本号,可能会有一些混淆。 1.11> 1.10> 1.9。我们将第二个数字作为数字进行比较。不要错误地将每个数字视为要比较的值。

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/

更新:与IE8兼容的最新版本现在为1.11.3
http://blog.jquery .com / 2015/04/28 / jquery-1-11-3-and-2-1-4-released-ios-fail-safe-edition /

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/

这篇关于与IE8一起使用的最新jQuery版本是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆