loopj / jquery-simple-slider

Unobtrusive numerical slider plugin for jQuery
194 stars 113 forks source link

Slider:ready does not fire #72

Open bluesodium opened 10 years ago

bluesodium commented 10 years ago

I am trying to set up the slider to initialise from a json file on load using jquery. However, even though the value of the textbox is updated from the jquery, the slider juts sits in the default position and does not update. Correct value reported in console.log.

It is like slider:ready never fires (as the label for the slider value does not update either)...

Any ideas?

nickweavers commented 9 years ago

I am seeing this problem too and can't initialise the slider.

This fiddle http://jsfiddle.net/nickweavers/77c89pju/23/ shows the problem. The output span doesn't show the initial value of the slider, but it does show the values when the slider is dragged.

ernilambar commented 9 years ago

I am also facing this problem. Any quick solution for now?

nickweavers commented 9 years ago

I asked the question on stackoverflow here http://stackoverflow.com/questions/26516469/how-to-get-jquery-simple-slider-to-show-initial-value and someone posted a work-around that fixed the imediate problem for me. It might solve it for you too.