<input id="ex2" type="text" class="span2" value=""
data-slider-id="RC"
data-slider-min="-10" data-slider-max="50" data-slider-step="1"
data-slider-step="1" data-slider-value="[-10,50]"
data-slider-id='ex1Slider'/>
var slider = new Slider("#ex2",{tooltip: 'always'});
需要
bootstrap.css
bootstrap-slider.css
bootstrap-slider.js