custom controls - jQuery Mobile timepicker: How to enable 15-minute step? -
this first question on stackoverflow, please don't hate me missing :)
i trying build phonegap application using jquery mobile.
at point i'm having issues handling time inputs. need input offer 15-minute steps. i've tried datebox plugin offers functionality. code looks follows:
<input name="txtafzende" id="txtafzende" type="text" data-role="datebox" data-options='{"mode":"timeflipbox", "minutestep":"15", "usefocus":true}' /> however on iphone it's not possible switch input using "prev/next" buttons.
so question is:
is possible use standard html-inputs like
<input name="mytime" id="mytime" type="time" /> with customizing options use 15-minute step? i'm imagining like:
<input name="mytime" id="mytime" type="time" data-options='{"minutestep":"15"}'/> i'd use native timepicker integrates other ui elements.
if not possible, please suggest plugin allows me customize in needed way , integrates native ui inputs.
greets,
philip
Comments
Post a Comment