jQuery UI设计酒店中文日历
来源:互联网 发布:什么是数据新闻 编辑:程序博客网 时间:2024/05/01 13:27
首先需要引入jquery ui的js和css
接下来直接看代码:
<!DOCTYPE html><html><head><meta charset="UTF-8"><title></title><script type="text/javascript" src="js/jquery.js" ></script><script type="text/javascript" src="js/jquery-ui.js" ></script><link rel="stylesheet" href="css/jquery-ui.css" /><style>.ui-datepicker { width: 12em;}</style><script>$(function() { $("#datepicker").datepicker({ /* 区域化周名为中文 */ dayNamesMin : ["日", "一", "二", "三", "四", "五", "六"], /* 每周从周一开始 */ firstDay : 1, /* 区域化月名为中文习惯 */ monthNames : ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], /* 月份显示在年后面 */ showMonthAfterYear : true, /* 年份后缀字符 */ yearSuffix : "年", showOtherMonths:true, /* 格式化中文日期 (因为月份中已经包含“月”字,所以这里省略) */ dateFormat : "yy-mm-dd" }); });</script></head><body><input type="text" id="datepicker" placeholder="请选择入住日期" /></body></html>
1 0
- jQuery UI设计酒店中文日历
- jQuery ui datepicker 日历转中文
- jQuery ui 日历属性
- Jquery UI 日历控件
- Jquery UI 日历控件
- 自定义jquery ui日历
- 8.jQuery UI 日历UI
- jquery ui日历中文化
- jQuery-ui datepicker 日历选择器
- jquery-easyui Calendar 日历中文
- jquery-ui日历插件的使用步骤
- jQuery UI Datepicker日期日历改造为年月日历
- JQuery UI 设计网址
- jquery.ui.draggable中文文档.
- jquery.ui.droppable中文文档
- jquery.ui.resizable中文文档
- jquery.ui.progressbar中文文档
- jQuery UI Datepicker中文显示
- openstack通用技术介绍
- CGLIB动态代理
- yuantu
- HDOJ 1528 Card Game Cheater(二分图最大匹配)
- 基于密度的聚类
- jQuery UI设计酒店中文日历
- 维护好我们的“门户”,口腔健康很重要
- 软件测试职业规划
- 相同和相等的区别。。。
- Bellman_Ford+普通队列(求不含负环的最短路)模板--持续更新中。。。
- Windows右键菜单中加入用notepad++打开选项
- git工作流程
- 温故知新——五大常用算法总结
- Apache Maven 入门篇