API地址:http://www.jemui.com/uidoc/jedate.html
引入方式:
<script src="jedate-6.5.0/src/jedate.js"></ script >
<link type="text/css" rel="stylesheet" href="jedate-6.5.0/skin/jedate.css"> /*注意引入css是link标签*/
示例:
<input> type="text" style="cursor: default;background-color: white;" class="form-control" name="FREQUENCY_NAME" id="start_time_edit" placeholder="班次名称" <input>
/*js调用,是拿id值调用的*/
<script>
jeDate("#start_time_edit", {
format:"hh:mm" });
</script>
效果:
其它样式可参考官网API文档