laydate时间控件
2016-02-01 16:46
363 查看
1.引入
<script src="<%=path%>/plugins/laydate/laydate.js" type="text/javascript"></script>
2.html
<div class="col-md-8" style="margin-left: 100px;">
<div style="margin-top: 15px;margin-left: 6px;" class="row">
<div class="col-lg-12">
<div id="timePiker">
<span> 开始时间:</span>
<input type="text" class="laydate-icon" id="startTime"
style="width:180px; margin-right:10px;height:28px;"
value=""/>
<span>结束时间</span>
<input type="text" class="laydate-icon" id="endTime" style="width:180px;height:28px;" value=""/>
<button class="btn btn-info" type="button" id="queryHeatCharts" style="margin-left: 20px;">查询</button>
</div>
</div>
</div>
</div>
3.js
<div class="col-md-8" style="margin-left: 100px;">
<div style="margin-top: 15px;margin-left: 6px;" class="row">
<div class="col-lg-12">
<div id="timePiker">
<span> 开始时间:</span>
<input type="text" class="laydate-icon" id="startTime"
style="width:180px; margin-right:10px;height:28px;"
value=""/>
<span>结束时间</span>
<input type="text" class="laydate-icon" id="endTime" style="width:180px;height:28px;" value=""/>
<button class="btn btn-info" type="button" id="queryHeatCharts" style="margin-left: 20px;">查询</button>
</div>
</div>
</div>
</div>
4.效果
<script src="<%=path%>/plugins/laydate/laydate.js" type="text/javascript"></script>
2.html
<div class="col-md-8" style="margin-left: 100px;">
<div style="margin-top: 15px;margin-left: 6px;" class="row">
<div class="col-lg-12">
<div id="timePiker">
<span> 开始时间:</span>
<input type="text" class="laydate-icon" id="startTime"
style="width:180px; margin-right:10px;height:28px;"
value=""/>
<span>结束时间</span>
<input type="text" class="laydate-icon" id="endTime" style="width:180px;height:28px;" value=""/>
<button class="btn btn-info" type="button" id="queryHeatCharts" style="margin-left: 20px;">查询</button>
</div>
</div>
</div>
</div>
3.js
<div class="col-md-8" style="margin-left: 100px;">
<div style="margin-top: 15px;margin-left: 6px;" class="row">
<div class="col-lg-12">
<div id="timePiker">
<span> 开始时间:</span>
<input type="text" class="laydate-icon" id="startTime"
style="width:180px; margin-right:10px;height:28px;"
value=""/>
<span>结束时间</span>
<input type="text" class="laydate-icon" id="endTime" style="width:180px;height:28px;" value=""/>
<button class="btn btn-info" type="button" id="queryHeatCharts" style="margin-left: 20px;">查询</button>
</div>
</div>
</div>
</div>
4.效果
相关文章推荐
- 一个控件看不见可能的原因
- 同步synchronized用法
- Linux SSH安装及使用
- LoadRunner使用笔记
- 图片处理工具类
- Can I create an array whose component type is a concrete parameterized type? 我可以创建一个泛型数组嘛?
- Spring(AbstractRoutingDataSource)实现动态数据源切换--转载
- PHP删除目录及目录下所有文件或删除指定文件
- Listview的简单应用
- 背景图片的设置及拉伸
- 结转时数据修正
- .net2.0的DirectX.dll和Directsound.dll怎么使用在.net4.0上。
- unity关于lineRender平滑画线问题
- 多线程模拟实现生产者/消费者模型
- python packaging
- 高质量C++/C编程指南(一)
- grunt自动化环境配置
- RAC挂载共享磁盘组
- 国外那些优秀的 Drupal 教程博客
- hdu 5183 Negative and Positive (NP)【fast IO +哈希表】