Wrong values in range slider with jQuery UI
My slider has this configuration:
range: true,
step: 1,
min: 1,
max: 14,
values: [1, 14],
slide: function(event, ui) {
var btn = 0;
$("#slider a").each(function()
{
$(this).html($('#slider').slider("values", ui.values[btn++]));
});
}
But if I'm moving the handler left and right then it shows allways the previous value and not the current. Example: Step 1: 1 and 14. Step 2: I move the right handler to position 1 and it says "2". Step 3: I move it to position 2 and it say "1".
链接地址: http://www.djcxy.com/p/58694.html上一篇: 如何确定从后台堆栈中恢复的碎片
