开发者

Calendar instead of jQuery-UI DatePicker?

开发者 https://www.devze.com 2023-03-12 06:12 出处:网络
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. A

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消