jQuery UI Slider moving upwards and disappearing in the div when used

前端 未结 4 1353
迷失自我
迷失自我 2021-01-24 05:19

I\'ve replaced a MooTools slider with a jQuery UI slider as our content management system uses jQuery and various other jQuery UI elements. I\'ve run into a problem where on Fir

4条回答
  •  一个人的身影
    2021-01-24 05:39

    When integrating jquery+ui with mootools(it is also jquery library) both libraries answer to the "slide" event, and unfortunately, mootools shoots first.u can do like this.

    jQuery('div.slider')[0].slide = null; jQuery('div.slider').slider({...});

提交回复
热议问题