user2806026 user2806026 - 10 months ago 76
jQuery Question

Can't get rangeslider.js to work

I am trying to use the rangeslider jQuery plugin:

However, it doesn't seem to work. What am I doing wrong?

min="10" // default 0
max="1000" // default 100
step="10" // default 1
value="300" // default min + (max-min)/2
data-orientation="vertical" // default horizontal

$( document ).ready(function() {



I don't see what is wrong exactly, so here is an example how to read the slider:

$(document).ready(function () {

$('input').on('change', function () {    

Update about the styling:

You need to match the HTML for it to work and also the classes that are used to apply the CSS