Jquery ui 可拖动手机版

Jquery ui draggable mobile version

我的 jquery ui 滑块有问题。我加了

<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui-touch-punch/0.2.3/jquery.ui.touch-punch.min.js"></script>

$(".ui-slider-handle").draggable({
            axis: "x",
            containment: "parent"
        });

the everything works correctly but the values doesn't shows.

问题已解决

  $('#slider1').slider().slider('pips').draggable({
            axis: "x",
            containment: "parent"
        }).slider('float',{
            suffix: " RON"
        });

    $('#slider2').slider().slider('pips').draggable({
        axis: "x",
        containment: "parent"
    }).slider('float',{
        suffix: " zile"
    });