Calendar instead of jQuery-UI DatePicker?
The jQuery-UI DatePicker is wonderful but it is a DatePicker. I need a Calendar widget that is not triggered off an input 开发者_如何学Cfield or such and the calendar is just displayed all the time. Any ideas?
jQuery FullCalendar is a fairly good one.
However, if you still want the basic functionality of the DatePicker, but just want it always shown you can display it inline instead.
Just call .datepicker()
on a div instead of an input. See here for an example.
In fact jQuery UI's Datepicker can be used as a simple inline Calendar.
It is also used here in SO. You can see it in your profile, in the visited
row click on x days, y consecutive
to see it.
精彩评论