How to get the value of the slider bootstrap?

I think it’s currently broken.

Documentation states:

Methods

.slider(‘getValue’)

Get the value.

How ever, calling $('#sliderDivId').slider('getValue') returns the jQuery selector rather than the value…

For now you could manually grab it from the data object…
$('#sliderDivId').data('slider').getValue()

Leave a Comment