JQ 时间插件

<script type="text/javascript" charset="utf-8" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/ueditor/ueditor.all.min.js"> </script>
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/ueditor/lang/zh-cn/zh-cn.js"></script>

添加时间:<input type="text" size="8" id="start_addtime" name="start_addtime" value="<?php echo I('get.start_addtime'); ?>" /> ~
<input type="text" size="8" id="end_addtime" name="end_addtime" value="<?php echo I('get.end_addtime'); ?>" /><br />

<script>
$("#start_addtime").datepicker({ dateFormat: "yy-mm-dd" });
$("#end_addtime").datepicker({ dateFormat: "yy-mm-dd" });
</script>

插件下载地址:http://files.cnblogs.com/files/hgj123/datepicker.rar

上一篇:Appium介绍及工作原理


下一篇:【BZOJ4013】[HNOI2015]实验比较(动态规划)