prototype and jQuery peaceful co-existence?

前端 未结 4 901
清酒与你
清酒与你 2021-02-08 07:22

I know very little about JavaScript but despite this I\'m trying to cobble something together on my wordpress blog. It\'s not working, and I don\'t know how to resolve it, and h

4条回答
  •  北荒
    北荒 (楼主)
    2021-02-08 08:14

    I think you should search well because all jQuery plugins has a prototype version and all prototype plugins has a jQuery version. If you really don't find what you look and you can't use only one library, take a look here at

    jQuery.noConflict();
    

    But again, i think it make no sense to load over 15-20kb for each library :)

提交回复
热议问题