Welcome to Help center

We are here to help

Range slider

Follow

HTML:
        <div class="price-range price-range-wrapper">
            <input class="price-input" type="text" name="price" value="0;5000000">
        </div>
    
Before </body> tag ends:
        <script type="text/javascript" src="assets/js/tmpl.js"></script>
        <script type="text/javascript" src="assets/js/draggable-0.1.js"></script>
        <script type="text/javascript" src="assets/js/jquery.slider.js"></script>
    
Js
        if( $(".price-input").length > 0) {
            $(".price-input").each(function() {
                var vSLider = $(this).slider({
                    from: 0,
                    to: 9000000,
                    smooth: true, 
                    round: 0,       
                    dimension: ',00 $',
                }); 
            });
        }
    

 

Have more questions?

Submit a request

Comments

Top
Powered by Zendesk