$(document).ready(function() { var range = $('#rangeSlider'); range.ionRangeSlider({ type: 'double', values: [2500,3000,3500,4000,5000], grid: true, hide_from_to: true, hide_min_max: true, onStart: function(data){ $('.irs-grid-text').append('ла') } }); range.on("change", function() { var $this = $(this), value = $this.prop("value"); Basket.BuyPricesChanged(value); }); });