TanchoToplineCargo/public/sunsarioverseas/js/partials/rank-slider.js

13 lines
405 B
JavaScript
Raw Normal View History

2024-05-05 04:47:49 +00:00
$( function() {
$( "#slider-range" ).slider({
range: true,
min: 0,
max: 85000,
values: [ 4500, 75300 ],
slide: function( event, ui ) {
$( "#amount" ).val( "$" + ui.values[ 0 ] + " - $" + ui.values[ 1 ] );
}
});
$( "#amount" ).val( "$" + $( "#slider-range" ).slider( "values", 0 ) +
" - $" + $( "#slider-range" ).slider( "values", 1 ) );
} );