Search and Top Navigation
#5675 closed bug (worksforme)
Opened May 29, 2010 03:45PM UTC
Closed May 29, 2010 06:57PM UTC
Last modified October 11, 2012 09:15PM UTC
Range-Sliders .slider('values', n) delay
Reported by: | bennigraf | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.slider | Version: | 1.8.1 |
Keywords: | slider range values | Cc: | |
Blocked by: | Blocking: |
Description
When initiating a rangeslider (two handles) with the slide-event set to a function, accessing the slider-values in the function using $(this).slider('values', n) (with n being 0 or 1) gives back the value of the slider one move before the actual one.
Example: http://stadtgrafen.de/testcases/slider/slider.html
ui.value works correctly, though I can't access both sliders by that.
Use ui.values
http://jsbin.com/efura3