You can set the values ββat any time, for maxyou do the following:
$("#slider-range-max").slider("option", "max", newValue);
You can see how to do this with all the parameters on the jQuery UI site . Here is an example:
$(".increaseMax").click(function() {
var currentMax = $("#slider-range-max").slider("option", "max");
$("#slider-range-max").slider("option", "max", currentMax + 1);
});
source
share