且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

jQuery UI Range滑块错误?

更新时间:2023-02-06 15:43:06

您总是可以阻止滑块重叠.像

You could always stop the sliders from overlapping. Something like

$( "#sliCSSHt" ).on( "slide", function( event, ui ) {
    if(ui.values[0]+10 > ui.values[1])  
       return false;
} );

http://jsfiddle.net/c934g/5/

更新 此错误已在最新的jquery-ui

Update This bug is fixed in the latest jquery-ui

使用最新的jquery-ui文件http://code.jquery.com/ui/1.10.3/jquery-ui.js可以正常工作.

using the latest jquery-ui files http://code.jquery.com/ui/1.10.3/jquery-ui.js it works.

http://jsfiddle.net/c934g/7/