javascript - Grab the value of Bootstrap slider in php?


Here is my code. I am using bootstrap for a slider input.

<input type="text" class="slider slider-primary" id="slider5" value="" name="question_five" data-slider-max="100" data-slider-value="5"  data-slider-selection = "before"  data-slider-handle="round">      

How can I get the default value using post method?
I tried placing thevalue="5" but it doesn't show any value at all.

Any idea of grabbing the value in php?




Check This documentation for bootstrap slider $('#ex1').slider({ formatter: function(value) { return value } });

People are also looking for solutions to the problem: Codeigniter error to execute update command in oracle database. DB_driver.php, Line Number: 330


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.