I want the values to be displayed under the handle all the time, is this possible? I tried something i found when googling but it didnt work as I wanted it to.

My slider:

Code JavaScript:
$(function() {
    $( ".slider-range2" ).slider({
      range: true,
      min: 0,
      max: 500,
      values: [ 75, 300 ],
      slide: function( event, ui ) {
        $( ".amount2" ).val( + ui.values[ 0 ] + " - " + ui.values[ 1 ] );
      }
    });
    $( ".amount2" ).val( + $( ".slider-range2" ).slider( "values", 0 ) +
      " - " + $( ".slider-range2" ).slider( "values", 1 ) );
  });