Range input is the form field type that allows the user to select a value using a slider widget.
Range input is already supported by all major browser so it should be really easy to get it working cross browser.
You can use Range input like this:
<input type="range" id="weight" min="10" value="10" max="2000" step="100">
More information can be found here.