I used the jQuery UI slider component in my page to set a range of prices. I can also use their ui.values[] to set and show the new values in other divs.
you can find it so easily in the official documentation of jQyeryUI slider page in the following example
http://jqueryui.com/slider/#custom-handle