select[ 0 ].selectedIndex = ui.value - 1;
}
});
- $( "#minbeds" ).change(function() {
+ $( "#minbeds" ).on( "change", function() {
slider.slider( "value", this.selectedIndex + 1 );
});
});
var count = 0;
element = $( "#slider1" ).slider();
- element.bind( "slidestart", function() {
+ element.on( "slidestart", function() {
count++;
});
this._handleIndex = index;
this._addClass( closestHandle, null, "ui-state-active" );
- closestHandle.focus();
+ closestHandle.trigger( "focus" );
offset = closestHandle.offset();
mouseOverHandle = !$( event.target ).parents().addBack().is( ".ui-slider-handle" );