我有一个可以添加到任何网站的jQuery小部件。我正在使用jQuery1.7。 我怀疑它会与其他JavaScript库jQuery旧版本,mootools,原型等)冲突。我找到了方法jquery.noconflict()
。任何人都可以给我准确的语法来使用,也可以在我的脚本中添加它?jquery与其他javascript库没有冲突
在此先感谢您的答复。
谢谢Shlomi Komemi建议的链接。
我更新了答案此链接
Can I use multiple versions of jQuery on the same page?
这样吗? http://stackoverflow.com/questions/1566595/can-i-use-multiple-versions-of-jquery-on-the-same-page –