开发者

Dynamically change min/max values for jquery-tools range input

I'm using the new rangeInput in the jquery tools package for a slider. It's working, but my problem is I need to change it to english or metric units based on user preference and this is after the DOM has been loaded.

So I need to be able to set the max to 5000 or 465 based on what measurement system the user chooses. I've changed the values in the dom succes开发者_运维百科sfully, but it doesn't seem to affect the slider values.


Changing the max/min values doesn't affect the value of the slider. You also need the convert the value of the slider to the unit system you use.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜