I am using the jQuery ui-slider. In the range slider, if I select the same range using both the handles, one handle is hiding behind the another handle. I just want to meet both the handles if the same range has choosen. Kindly help me.
$("#dvSliderRange2").slider({
range: true,
min: 0,
max: 100,
values: [20, 40],
step: 10,
slide: function(event, ui) {
if (ui.values[0] == ui.values[1]) {
return false;
}
$("#lblRange2").text(ui.values[0] + " - " + ui.values[1]);
}
});