loopj / jquery-simple-slider

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

How can i control the slider bar when it created #75

Open sammok opened 9 years ago

sammok commented 9 years ago

Hi Honey! Your effect was pretty good! Thx,

I created a slider bar... then I want to control the slider bar's value when i want to do something...

like:

                                        ↑  that's before create.... I want to do is when its created..how can i dynamic control the value;

excuse the chinese english LOL~ thx again

sammok commented 9 years ago

I declared a variable to storage a predefined sliderbar value like:

var sliderValue = 100;

then: when slider was changed... get the new data.value from slider:change event to overlap the sliderValue;

lol~~~~