My client has asked me to build a ui slider using jQuery but he wants the specific values 10,20,30,50,75,100,200.
I just have a basic setup of the slider
$(function() {
$( "#slider" ).slider({
value:40,
min: 10,
max: 70,
step: 10,
slide: function( event, ui ) {
$( "#amount" ).val( "$" + ui.value );
$(this).find("a.ui-slider-handle").text(ui.value).append('<br>miles');
}
});
$( "#amount" ).val( "$" + $( "#slider" ).slider( "value" ) );
});
I just cant figure out what to do.
Thanks a lot