简体   繁体   English

填充Web表单的最佳日历弹出窗口是什么?

[英]What is the best calendar pop-up to populate a web form?

I want to be able to make an HTTP call updating some select boxes after a date is selected. 我希望能够在选择日期后更新某些选择框进行HTTP调用。 I would like to be in control of updating the textbox so I know when there has been a "true" change (in the event the same date was selected). 我希望能够控制更新文本框,以便知道何时出现“真正的”更改(如果选择了相同的日期)。 Ideally, I would call a function to pop-up the calendar and be able to evaluate the date before populating the text box...so I can do my validation before making a server call. 理想情况下,我会调用一个函数来弹出日历,并能够在填充文本框之前评估日期...所以我可以在进行服务器调用之前进行验证。

JQuery's datepicker is an extremely flexible tool. JQuery的datepicker是一个非常灵活的工具。 With the ability to attach handlers prior to opening or after date selection, themes , range selection and a variety of other incredibly useful options, I've found that it meets all my needs. 由于能够在打开之前或日期选择之后附加处理程序, 主题 ,范围选择以及各种其他非常有用的选项,我发现它满足了我的所有需求。

The fact that I sit next to one of its maintainers here at work is also fairly useful... 我在这里工作的其中一个维护者旁边的事实也非常有用......

我一直在玩jquery datePicker脚本 - 你应该可以用这个做你需要做的一切。

YUIExtJ都有非常漂亮的外观和灵活的日历。

If you ever end up considering a JavaScript library/toolkit, Dijit , a widget system which layers on top of Dojo , has a calendar (Dijit calendar test page). 如果您最终考虑使用JavaScript库/工具包, Dijit (一个位于Dojo之上的小部件系统)具有日历 (Dijit日历测试页)。 I found it relatively simple to implement. 我发现它实现起来相对简单。

//Disclaimer: I'm in the middle of a love-hate relationship w/ Dojo at the moment, as I am in the process of learning and using it better. //免责声明:我现在处于与Dojo的爱恨交织中,因为我正在学习和更好地使用它。

I don't like the MS ASP.NET ajax, but their datepicker is superb. 我不喜欢MS ASP.NET ajax,但他们的datepicker非常棒。 Otherwise, jQuery datepicker. 否则,jQuery datepicker。

I'm using the JSCalendar from Dynarch for a project I'm currently working on. 我正在使用Dynarch的JSCalendar来处理我正在进行的项目。 It is LGPL licensed and really flexible (easy to customize to your needs). 它是LGPL许可的,非常灵活(可根据您的需求轻松定制)。 It has lots of features and looks good, too. 它有很多功能,看起来也不错。

http://www.dynarch.com/projects/calendar/ http://www.dynarch.com/projects/calendar/

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

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