jscalendar-1.0
一个不错的js写的日期时间控件,可以根据自己的需求改成自己需要的显示方式。 使用方法(里面有例子): <link href=\"/styles/calendar.css\" rel=\"stylesheet\" type=\"text/css\"/> <script type=\"text/javascript\" src=\"<%=ctx%>/js/calendar/calendar.js\"></script> <script type=\"text/javascript\" src=\"<%=ctx%>/js/calendar/calendar-zh.js\"></script> <script type=\"text/javascript\" src=\"<%=ctx%>/js/calendar/calendar-setup.js\"></script> ...... <script type=\"text/javascript\"> function popCalendar(field) { Calendar.setup({ inputField : field.name, ifFormat : \"%Y-%m-%d\",//定义自己需要的显示方式 singleClick : true, showsTime : true }); field.click(); } </script> ..... <html:text styleClass=\"date\" readonly=\"true\" property=\"timeFrom\" onclick=\"popCalendar(this)\" value=\"<%=你的默认时间%>\"/>
- 1
- xyn5064753732012-07-05不错,能用
- xiaosu_ji2013-02-19不错,可以用。不过现在被整套的UI控件代替了。
- jiang7810211642014-06-26可以试用,多谢
- 粉丝: 112
- 资源: 24
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助