JQuery conflict with an other JQuery library

前端 未结 5 1006
南笙
南笙 2021-01-02 05:07

I use jquery for a module. My joomla template have an integrated jquery menu. So they conflict with each other.

Is there a way to solve this problem. Following the s

5条回答
  •  被撕碎了的回忆
    2021-01-02 05:23

    try

    jQuery.noConflict();
    

    e.g

    
    

    I have updated your code to use jQuery to check for document loaded. Details for using the noConflict function is here.

提交回复
热议问题