JQuery UI Spinner
JQuery UI Spinner
I have used alot of jQuery UI widgets in Form submissions, like datepickers, etc. I am having issues with the spinner. When I submit my form, the spinner input field is always 0. Here is my jQuery code:
- <script>
- $(function() {
- $( "#tpi_score" ).spinner({
- step: 0.01,
- min: 0,
- max: 5,
- });
- });
- </script>
-
- <!---Form input field--->
- <input id="tpi_score" name="tpi_score" value="0.00" size="5">