原型和jQuery在一起吗? [英] Prototype and jQuery together?

查看:61
本文介绍了原型和jQuery在一起吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到我使用的某些脚本依赖原型. (灯箱2)它可以与jQuery在同一页面上一起使用吗?有没有办法确保他们不冲突?

I noticed that a certain script I use relies on prototype. (Lightbox 2) Will it work together on the same page as jQuery? Is there way to make sure that they don;t conflict?

推荐答案

有一个灯箱数量巨大克隆,为什么不选择一个jQuery呢?不管避免库之间的冲突,在一个页面上拥有两个JS库都是要下载的 lot .

There's a huge number of lightbox clones, why not choose a jQuery one? Regardless of avoiding conflicts between the libraries, having two JS libraries on one page is a lot to download.

这篇关于原型和jQuery在一起吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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