概述用法
轻松创建可以从预填充下拉菜单中选择时间的时间选择器。
将 data-toggle="datetimepicker" 属性添加到 input 元素中就能创建时间选择器。获得焦点后,时间选择器会自动显示。
禁止弹出日历组件层只需要设置input元素为disabled
<input class="form-control" value="2015-05-17" type="text" data-toggle="datetimepicker" readonly="readonly">