开发者

jquery ui events

I have some trouble with jque开发者_如何学Gory ui-events: In my application, there are some sliders. I have to adjust the "min"-option from time to time, but I have the problem, that the change()-event is not triggered after that. I would expect that on every value-change, programmatically or manually, the change-event is called. How to treat that correctly?


Change event only triggered on value change (as you already know). But you can "fake" value change:

var value = $('#mySlider').slider('option', 'value');
$('#mySlider').slider('option', 'value', value);
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜