I have a jQuery UI Range slider like below working fine (pretty much a copy and paste from the jQuery API examples:
//Price range slider
$(function() {
$( "#slider-range-price" ).slider({
range: true,
min: 300,
max: 18499,
values: [300,18499],
slide: function( event, ui ) {
$( "#amount-price" ).val( "£" + ui.values[ 0 ] + " - £" + ui.values[ 1 ] );
}
});
$( "#amount-price" ).val( "£" + $( "#slider-range-price" ).slider( "values", 0 ) +
" - £" + $( "#slider-range-price" ).slider( "values", 1 ) );
});
However now i need a second one, but this time i need it to handles letters instead of integers. As such i need the min: 'A' and the max :'Z', so that the range is 2 letters of the alphabet. But i have been unable to find anything other than integers or floats for sliders. Any help appreciated - bearing in mind i have done a lot of web-dev, but am pretty new to jQuery.