There is a slider script, displays two identical values, you need to add its own volov to the second output. For example, the slider is stopped at 1000, you need to display 1500, it is stopped at 50, you need to output 75.

html:

<div id="slider-result">50</div> <center> <input id="text" type="text" /> </center> 

script:

 <script type="text/javascript"> $(document).ready(function(){ $( ".slider" ).slider({ animate: true, range: "min", value: 50, min: 50, max: 15000, step: 50, slide: function( event, ui ) { $( "#slider-result" ).html(ui.value); }, change: function(event, ui) { $('#text').attr('value', ui.value); } }); }); </script> 

    1 answer 1

    Solved.

     change: function(event, ui) { $('#text').attr('value', ui.value*1.5); } });