if i modify the example of
dhtmlx.com/docs/products/kb/inde … es&s=range
to other min-value (10), the example don’t work.
the slider11.getValue() returns the value 10 instead of 99.
the getValue() function works only with min-value 0.
var slider10 = new dhtmlxSlider(null, 300,“simplesilver”,false,10,100,20);
slider10.init();
slider10.attachEvent(“onChange”,function(value){
var max=slider11.getValue();
if (value>max) this.setValue(max);
})
var slider11 = new dhtmlxSlider(null, 300,“simplesilver”,false,10,100,99);
slider11.init();
slider11.attachEvent(“onChange”,function(value){
var min=slider10.getValue();
if (value<min) this.setValue(min);
})
Issue already fixed in latest codebase. Fix will be released as part of next build. If you need it ASAP - you can use attached js file instead of original one.
dhtmlxslider.zip (4.45 KB)