What's the variable for the current value of the slider at any given timer?

95 Views Asked by At

What would the variable for the current value of the roundSlider jquery plugin at any given time be called and how would I store this in my own variable? http://roundsliderui.com/

2

There are 2 best solutions below

0
On

Just use its getValue() method -

sliderValue = $('#slider').getValue()
0
On

Check the document from here: http://roundsliderui.com/document.html#getValue

Also at anytime you can get the value like below:

var currentValue = $("#slider").roundSlider("getValue");