jQuery时间控件Datepicker汉化版使用详解
2012-12-07 11:29
435 查看
所需js和CSS文件下载地址:http://download.csdn.net/detail/softwave/4439849
其中jquery-ui-timepicker-zh-CN.js是汉化文件
最终效果与下图类似。
项目地址:http://trentrichardson.com/examples/timepicker/
Github:http://github.com/trentrichardson/jQuery-Timepicker-Addon
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>无标题文档</title> <link rel="stylesheet" media="all" type="text/css" href="css/jquery-ui.css"/> <link rel="stylesheet" media="all" type="text/css" href="css/jquery-ui-timepicker-addon.css"/> <script type="text/javascript" src="js/jquery-1.7.2.js"></script> <script type="text/javascript" src="js/jquery-ui.min.js"></script> <script type="text/javascript" src="js/jquery-ui-timepicker-addon.js"></script> <script type="text/javascript" src="js/jquery-ui-sliderAccess.js"></script> <script type="text/javascript" src="js/jquery-ui-timepicker-zh-CN.js"></script> <script type="text/javascript"> $(function(){ $('#example').timepicker({}); }); </script> <style type="text/css"> #ui-datepicker-div, .ui-datepicker{ font-size: 80%; } </style> </head> <body> <input type="text" name="example" id="example" value="" /> </body> </html>
其中jquery-ui-timepicker-zh-CN.js是汉化文件
最终效果与下图类似。
项目地址:http://trentrichardson.com/examples/timepicker/
Github:http://github.com/trentrichardson/jQuery-Timepicker-Addon
相关文章推荐
- jquery datetimepicker 日期时间控件的使用及参数说明
- jquery UI Datepicker时间控件的使用方法(加强版)
- 详解Ajax请求(三)——jQuery对Ajax的实现及serialize()函数对于表单域控件参数提交的使用技巧
- JQUERY时间控件--My97DatePicker使用说明文档
- jquery日期控件使用,起止时间
- 关于jquery-weui.js中时间控件datetimepicker的使用
- jquery UI datepicker时间控件的使用
- jquery UI Datepicker时间控件的使用方法(基础版)
- jQuery中,在<input>中使用时间控件,当输入时间后,立刻获得该值(针对于.bind("input propertychange", function(){})不起作用的解决方法)
- Android滚轮选择时间控件使用详解
- 这篇文章主要为大家详细介绍了jQuery密码强度验证控件使用详解的相关资料,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
- jquery UI Datepicker时间控件的使用及问题解决
- jquery文件上传控件 Uploadify 使用方法详解
- jquery UI Datepicker时间控件的使用方法(终结版)
- 实例详解jQuery结合GridView控件的使用方法
- jquery UI Datepicker时间控件的使用方法(终结版)
- Android日期时间选择控件使用详解
- jQuery密码强度验证控件使用详解
- 在使用jquery时间控件的时候无论怎么设置readonly都没有效果,折腾了N久才知道了这个属性,希望可以为同样有过苦恼的童鞋有些帮助
- jquery UI Datepicker时间控件的使用方法(加强版)