javascript - How to give specific range to datetime input type? -
working on phonegap application, requires provide specific date range (for example, user should able pick future dates 10 days now).
testing application ipad. have tried min , max attributes not working.
<span class="field_text">preferred date & time</span> <input id="checkout_datetime" type="datetime-local" class="text_box_cnt" required="required"/> please help...
use date instead of datetime-local.here example
<input id="checkout_datetime" type="date" min="2014-03-20" max="2014-03-30" class="text_box_cnt" />
Comments
Post a Comment