This is a very cool jquery slider plugin built on the original Bootstrup slider. The slider plug-in can customize the color, shape, transparency, and ToolTip properties of the slider, which works well.
This Bootstrup slider plug-in can be independent of jquery, and can be manipulated using a pure JS method.
Bootstrap-slider as the jquery plugin version
var Myslider = $ ("Input.slider"). Slider (); <pre name= "Code" class= "JavaScript" >//instantiate a Slidervar Myslider = new Slider ("Input.slider", { //Initi Al options Object}); Call a method on the Slidervar value = Myslider.getvalue (); <strong style= "font-family:arial, Helvetica, Sans-serif; "> </strong>
calling Bootstrup slider with native JS
Instantiate a Slidervar Myslider = new Slider ("Input.slider", { //Initial options object});//Call a method on th E Slidervar value = Myslider.getvalue (); For Non-getter methods, you can chain together Commandsmyslider . SetValue (5) . SetValue (7);
Online Demo: http://www.htmleaf.com/Demo/201502041325.html
: http://www.htmleaf.com/jQuery/Form/201502041324.html
Bootstrup Enhanced jquery slider Plug-in