Opened 14 years ago

Closed 14 years ago

#4522 closed bug (fixed)

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 (last modified by rdworth)

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.

Change History (2)

comment:1 Changed 14 years ago by rdworth

Description: modified (diff)

comment:2 Changed 14 years ago by rdworth

Resolution: fixed
Status: newclosed

Fixed in r3364

Note: See TracTickets for help on using tickets.