关于jquery向后兼容的问题

发布于 2024-07-18 04:20:56 字数 472 浏览 2 评论 0原文

我知道 jquery 有向后兼容文件。

但是,如果您链​​接到此特定版本: http:// /ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js 您不需要向后兼容文件。 我想知道是否 http://ajax.googleapis .com/ajax/libs/jquery/1.3.2/jquery.min.js 也将适用于较新的浏览器版本。 这样我就不需要将 jquery 升级到新版本,而冒着网站无法正常运行的风险。

I know jquery have backwardscompatibility files.

But if you link to this specific version: http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js you don't need backwardscompatibility files.
I want to know if http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js also is going to work with newer browserversions. Then I don't need to upgrade my jquery to newer versions with the risk that the website doesn't work well anymore.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

み零 2024-07-25 04:20:56

我确信较新的浏览器相对较旧的 jquery 版本不会出现问题。 Jquery 本身是纯 javascript - 所以我想这应该不是问题。

当尝试实现页面的新功能(可能需要新的 jquery 插件)时,您可能会遇到麻烦...

I'm sure there won't be issues with newer browser against an older jquery version. Jquery itself is pure javascript - so I guess this shouldn't be a problem.

You'll probably getting into trouble when trying to implement newer features of you page that may require new jquery plugins...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文