【发布时间】:2011-08-04 11:47:17
【问题描述】:
在我的项目中,我维护着不同的 jquery 版本。所以,我遇到了 jquery 冲突,请帮我解决这个问题。
【问题讨论】:
-
为什么还要使用旧版本?您不应在同一页面上加载 2 个 jquery 实例。
-
Can I use multiple versions of jQuery on the same page? 的可能重复项,但也请查看 Using different versions of jQuery on the same page 。
noConflict()可能适合您,也可能不适合您。