Is there an option to lock the slider to predefined values? I mean
values: ["7.5", "15", "35", "65", "99", "125", "150", "199", "299", "399", "499"],
Now I want to only move "7.5" to 15,35.....499,
how it is possible? because when I start slider from "7.5" then it shows me 43, 79.I don't want these values , slider only move given values! Can you please!
if($('#range_slider_a').length) {
$("#range_slider_a").ionRangeSlider({
type: "single",
step: 10,
postfix: " $",
min: 7.5,
max: 499,
//from: 7.5,
hasGrid: true,
values: ["7.5", "15", "35", "65", "99", "125", "150", "199", "299", "399", "499"],
onChange: function(obj) {
var current_price = $('#range_slider_a').prop("value");
$('#contact_limit').empty().append(''+current_price);
$('#contact_price').empty().append(''+current_price);
//alert(current_price);
},
});
}