Dropdown time for datepicker?
I am using the DateTimePicker, but instead of having the time slider, is it possible to have a dropdown with three pre-selected time for it?
e.g.
<select>
<option value="12:00">Lunch time</option>
<option value="14:30">Late lunch</option>
<option value="17:30">Evening time</option>
</option>
<asp:TextBox ID="txtDateTime" runat="server" />
<script type="text/javascript">
$(document).ready(function () {
$('#<%=txtDateTime.ClientID%>').datetimepicker({
dateFormat: 'dd/mm/yy',
timeFormat: 'HH:mm'…
Dropdown time for datepicker?
See original post by wll6568
Leave a Reply
You must be logged in to post a comment.