I\'ve replaced a MooTools slider with a jQuery UI slider as our content management system uses jQuery and various other jQuery UI elements. I\'ve run into a problem where on Fir
This worked for me:
// This fixed the conflict between slider and motools
jQuery.ui.slider.prototype.widgetEventPrefix = 'slider';
jQuery( "#slider-range" ).slider({
range: true,
min: 16,
max: 99,
values: [ 16, 99 ],
slide: function( event, ui ) {
jQuery( "#age_range" ).val( ui.values[ 0 ] + " - " + ui.values[ 1 ] );
}
});