I would like to have a jQuery mobile input time with a predefined step for seconds. Is it possible?
For now I have:
<input id="schedule" type="time" name="open_hours">
I would like to add a parameter where I can set the minutes as step. For example, I just want the user to select only 00 or 30 minutes for every possible hour.
You could use jQuery UI's spinner for that and set step option to 30
http://jqueryui.com/spinner/#time
They created a timespinner in that example, exactly what you seem to be looking for.
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.