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 the value="5"
but it doesn't show any value at all.
Any idea of grabbing the value in php?
请查看此文档以了解引导程序滑块http://seiyria.github.io/bootstrap-slider/ $('#ex1').slider({ formatter: function(value) { return value } });
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.