Range select input widget
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
The class range-select is required. If you add the attribute data-auto-init, then the input element will be automatically enhanced when the domReady event is fired.
<input type="text" class="range-select" data-auto-init value="0;100">
<link rel="stylesheet" href="dist/jquery.lcnRangeSelect.css">
<script src="dist/jquery.lcnRangeSelect.js"></script>
value="0;100"
data-min="0"
data-max="100"
data-step="5"
data-unit="%"
data-single-value
The value of the input form field then only consists of a single number and not a number pair.
If you omit the data-auto-init attribute on your input tag or if you create input tags dynamically after the domReady event has fired, you need to initialize the widget manually:
<script>jQuery('input.range-select').lcnRangeSelect();</script>