How do I solve this jQuery plugins conflict?

后端 未结 4 1268
离开以前
离开以前 2021-01-29 02:59

I am using two different jQuery plugins; one for news logo ticker and another for horizontal text slider.

but only one of them is working at a time when when used in sin

4条回答
  •  醉话见心
    2021-01-29 03:26

    You may need to declare variable . Because $ is using on other js frameworks like prototype. so just simply put under following script at the top of ur script.

    var jQuery = jQuery.noConflict(); 
    

提交回复
热议问题