English 中文(简体)
你最喜欢的原型框架兼容的JavaScript日期选择器是什么?[关闭]
原标题:
  • 时间:2008-10-16 06:50:47
  •  标签:
最佳回答

日历日期选择

问题回答

用于可视化选择日期范围的时间轴...

jQuery的UI.DatePicker

(通过JQuery.noConflict()兼容的原型)

Scal是基于原型JS库的简单JavaScript日历/日期选择器。

创建日历,只需使用您的基本元素和更新回调的scal实例,以及可选参数:

var cal = new scal( samplecal , updateelement, {
  oncalchange: function(d) {
    alert( Calendar Change:   + d.format( yyyy-mm-dd ));
  }
});

请查看演示食谱

Date.js还是非常好的,尽管它本质上不是一个日期选择器。

雅虎用户界面库:日历

"The Calendar component is a UI control that enables users to choose one or more dates from a graphical calendar presented in a single month or multi month interface. Calendars are generated entirely via script and can be navigated without any page refreshes."

"You ll find the Calendar Control to be a useful and easy-to-implement enhancement to any date-selection interaction; you may also find that the Calendar s foundation classes are a good place to start for more complex interfaces that visually organize date-tagged information (like appointments, photos, events, etc.)."

ExtJS与Prototype兼容良好,并且其小部件不断得到社区的扩展。DatePicker就是其中之一。

演示:http://www.lubber.de/extjs/datepickerplus/





相关问题
热门标签