Jquery Ui Slider Handle On Last Saved Value
How can I set the handle to start on the last saved value? For some reason it's always in the last position. I'm setting my start position and max value using values from the datab
Solution 1:
Change the value option to:
value: parseInt($("input[name='shirts']").val()),
Here is a full demo: http://jsfiddle.net/lucuma/hcKwQ/1/
The plugin is expecting a number so you need to parse it..
Post a Comment for "Jquery Ui Slider Handle On Last Saved Value"