html5 - javascript - blocking a set of dates in a date input, is it possible? -
i'm doing upgrade customer's website , found following challenge:
this customer has reservation system composed of 2 date input tags determine dates he/she entering hotel room. know there's jquery , pure javascript-driven plug-ins (like dhtmlx suite or jquery easyui controls) wonders in sense, know if possible add date blocking functionality plain <input type="date">
tag.
so far, i've got add predefined dates using <datalist>
tag , using date input list
attribute, that's it.
is possible block dates javascript?
it looks support <input type="date">
still not solid. interested learn feature coming, though. found this article quite helpful, , examples use opera examples, gives sense of coming.
here fiddle containing data input. me renders plain text field :(
<input id="startdate" name="startdate" min="2012-01-01" max="2013-01-01" type="date">
Comments
Post a Comment