While using jquery with prototypejs, is there any way we can remove all prototypejs variables from global scope instead of jquery

浪尽此生 提交于 2019-12-24 10:01:04

问题


I know we can use jQuery.noConflict() to resolve the conflict between the 2 libraries, but I want to use $ for jquery & something else for prototypejs. Is there any way to do this??


回答1:


Prototype doesn't provide any option similar to jQuery.noConflict(), as far as I know.



来源:https://stackoverflow.com/questions/7242269/while-using-jquery-with-prototypejs-is-there-any-way-we-can-remove-all-prototyp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!