<script type="text/javascript"> $(function() { debugger; $( "#slider-range" ).slider({ range: true, min: 0, max: 1000, values: [ <?php echo $min; ?>, <?php echo $max; ?> ], slide: function( event, ui ) { $( "#amount" ).val( "$" + ui.values[ 0 ] + " - $" + ui.values[ 1 ] ); } }); $( "#amount" ).val( "$" + $( "#slider-range" ).slider( "values", 0 ) + " - $" + $( "#slider-range" ).slider( "values", 1 ) ); }); </script>
TypeError: $(...).slider is not a function
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)