简体   繁体   English

jQuery UI范围滑块插件与jQuery Mobile滑块冲突

[英]jQuery UI range slider plugin conflicts with jQuery Mobile slider

I'm trying to get jQuery range slider working with jQuery Mobile but it seems like it's conflicting with each other and when I use $('#something').slider() it uses jQuery Mobile's slider instead. 我试图让jQuery范围滑块与jQuery Mobile一起使用,但似乎彼此冲突,当我使用$('#something').slider()它改而使用jQuery Mobile的滑块。

However jQuery Mobile does not have dual range slider which is why I need to use jQuery UI. 但是jQuery Mobile没有双范围滑块,这就是为什么我需要使用jQuery UI。

Is there a way we can get this working so range is working? 有没有一种方法可以使此工作正常进行,使范围正常工作? or is there another jQuery Plugin that you can recommend? 还是有推荐的另一个jQuery插件?

here is how I solved it. 这是我解决的方法。 The JQuery UI page allows you to do selective download. JQuery UI页面允许您进行选择性下载。 I removed the tick for "Slider" and downloaded the new javascript. 我删除了“滑块”的勾号,并下载了新的JavaScript。 Now my slider comes from JQuery Mobile itself. 现在,我的滑块来自JQuery Mobile本身。 Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM