作者:yoyokk99的秋天 | 来源:互联网 | 2023-09-13 20:35
i have 3 div's
我有3个div
i have added the slider to these div's using class reference
我已经使用类引用将滑块添加到这些div中
$(function() {
$(".slider-range").slider({
range: true,
min: 0,
max: 100,
slide: function(event, ui) {
}
});
});
the ranges of each sliders are different. I want to add that dynamically
每个滑块的范围是不同的。我想动态添加它
I tried
$("#slider-range1").slider('option','values',[1, 100]);
but it is not working :(
但它不起作用:(
2 个解决方案