简体   繁体   English

Dojo日期选择器与Jquery日期选择器

[英]Dojo Date picker Vs Jquery date picker

任何人都可以建议哪个日期选择器在可用性/重量/自定义方面更好

Look this samples. 这个样本。 Honestly jQuery is more comfortable and flexible choose jQuery UI Datepicker. 老实说,jQuery更舒适,更灵活,选择jQuery UI Datepicker。

The jQuery UI Datepicker is a highly configurable plugin that adds datepicker functionality to your pages. jQuery UI Datepicker是一个高度可配置的插件,为页面添加了datepicker功能。 You can customize the date format and language, restrict the selectable date ranges and add in buttons and other navigation options easily. 您可以自定义日期格式和语言,限制可选日期范围,并轻松添加按钮和其他导航选项。

By default, the datepicker calendar opens in a small overlay onFocus and closes automatically onBlur or when a date is selected. 默认情况下,日期选择器日历会在onFocus上以较小的叠加层打开,并在onBlur或选择日期时自动关闭。 For an inline calendar, simply attach the datepicker to a div or span. 对于嵌入式日历,只需将日期选择器附加到div或span即可。

You can use keyboard shortcuts to drive the datepicker: 您可以使用键盘快捷键来驱动日期选择器:

 page up/down - previous/next month ctrl+page up/down - previous/next year ctrl+home - current month or open when closed ctrl+left/right - previous/next day ctrl+up/down - previous/next week enter - accept the selected date ctrl+end - close and erase the date escape - close the datepicker without selection 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM