easyui源码翻译1.32--DateBox(日期输入框)
2013-12-28 23:35
295 查看
前言
扩展自$.fn.combo.defaults。使用$.fn.datebox.defaults重写默认值对象。下载该插件翻译源码日期输入框结合了一个可编辑的文本框控件和允许用户选择日期的下拉日历面板控件。选择的日期会自动转变为一个有效的日期然后填充到文本框中。选定的日期也可以被格式化为预定格式。
依赖关系
combo
calendar
源码
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Basic DateBox - jQuery EasyUI Demo</title> <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css"> <link rel="stylesheet" type="text/css" href="../../themes/icon.css"> <link rel="stylesheet" type="text/css" href="../demo.css"> <script type="text/javascript" src="../../jquery-1.8.0.min.js"></script> <script src="../../plugins2/jquery.parser.js"></script> <script src="../../plugins2/jquery.validatebox.js"></script> <script src="../../plugins2/jquery.panel.js"></script> <script src="../../plugins2/jquery.combo.js"></script> <script src="../../plugins2/jquery.calendar.js"></script> <script src="../../plugins2/jquery.datebox.js"></script> </head> <body> <h2>Basic DateBox</h2> <div class="demo-info"> <div class="demo-tip icon-tip"></div> <div>Click the calendar image on the right side.</div> </div> <div style="margin:10px 0;"></div> <input class="easyui-datebox"></input> </body> </html>
View Code
插件效果
![](http://images.cnitblog.com/blog/353349/201312/28233459-6beba5639dd7426a8c82860ebead7cae.png)
相关文章推荐
- easyui源码翻译1.32--DateTimeBox(日期时间输入框)
- easyui源码翻译1.32--NumberBox(数值输入框)
- easyui源码翻译1.32--SearchBox(搜索框)
- EasyUI之日期输入框dateBox
- easyui源码翻译1.32--ValidateBox(验证框)
- EasyUI datebox日期输入框--设置当前以后的时间不可用
- easyui datebox 时间限制,datebox开始时间限制结束时间,datebox截止日期比起始日期大的实现代码
- easyui datebox定位到某一个日期, easyui datebox直接定位到具体的日期, easyui datebox MoveTo方法使用
- Easyui的DateBox日期格式化
- easyui设置datebox默认当前日期,且只能选择当前日期之前的日期
- easyui源码翻译1.32--PropertyGrid(属性表格)
- easyui获取日期datebox中的值
- easyUI datebox 日期空间斜杠格式化。例如将日期空间中显示2017-03-13,改为2017/03/13
- easyui源码翻译1.32--MenuButton(菜单按钮)
- easyui源码翻译1.32--Resizable(调整大小)
- jQuery EasyUI API 中文文档 - 日期框(DateBox)
- easyui——datebox控件限制输入的日期
- 【easyui】datebox日期选择框的校验问题
- HTML Jquery EasyUI 日期选择框[easyui-datebox]的使用【格式自定】
- 在动态插入Easyui datebox控件时,使用$.parser.parse()手工渲染时,解决日期控件原有的值被清除问题