+1 vote
1.5k views
in Programming by (590 points)
edited by
I want a slider which can update price accordingly to slider, I am using php ,html and javascript,jQuery .

So can you send me a script for it which can perform this action. Thanks in advance !
closed

1 Answer

+2 votes
by Expert (5.1k points)
selected by
 
Best answer

simple price slider usinjg jquery..!!!

 

<!DOCTYPE html>
<html>
    <head>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.2/jquery.mobile-1.4.2.min.css">
        <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
    </head>
    <body>
 
        <div data-role="page">
            <div data-role="header">
                <h1>Range Slider</h1>
            </div>
 
            <div data-role="main" class="ui-content">
                <form method="" action="">
                    <div data-role="rangeslider">
                        <label for="price-min">Price:</label>
                        <input type="range" name="price-min" id="price-min" value="200" min="0" max="1000">
                        <label for="price-max">Price:</label>
                        <input type="range" name="price-max" id="price-max" value="800" min="0" max="1000">
                    </div>
                    <input type="submit" data-inline="true" value="Submit">
                   
                </form>
            </div>
        </div>
 
    </body>
</html>
 
0
by (590 points)
thanks! i actually need this code.
0
by Expert (6.4k points)
Could you please elaborate your question more?
0
by (2.9k points)
Cool Script ... Helped me also thanks!

Not a Member yet?

Ask to Folks Login

My Account

Your feedback is highly appreciated