Search and Top Navigation
#4522 closed bug (fixed)
Opened May 08, 2009 11:30AM UTC
Closed October 12, 2009 02:37PM UTC
slider: values option doesn't work for setting, values method does
Reported by: | rdworth | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.8 |
Component: | ui.slider | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The following code
$("#slider").slider("option", "values", [25, 75]);
should work just as well as
$("#slider").slider("values", 0, 25);
$("#slider").slider("values", 1, 75);
Currently, only the latter works.
Also, it would be nice if the values method accepted an array, just like the values option. This doesn't work:
$("#slider").slider("values", [25, 75]);
but would be nice.
Attachments (0)
Change History (2)
Changed June 06, 2009 02:32PM UTC by comment:1
description: | The following code \ \ $("#slider").slider("option", "values", [25, 75]); \ \ should work just as well as \ \ $("#slider").slider("values", [25, 75]); \ \ Currently, only the latter works. \ → The following code \ \ $("#slider").slider("option", "values", [25, 75]); \ \ should work just as well as \ \ $("#slider").slider("values", 0, 25); \ $("#slider").slider("values", 1, 75); \ \ Currently, only the latter works. \ \ Also, it would be nice if the values method accepted an array, just like the values option. This doesn't work: \ \ $("#slider").slider("values", [25, 75]); \ \ but would be nice. \ |
---|
Changed October 12, 2009 02:37PM UTC by comment:2
resolution: | → fixed |
---|---|
status: | new → closed |
Fixed in r3364