使用Jquery / Datepicker逐个选择多个日期 [英] Pick multiple dates one by one with Jquery/Datepicker
问题描述
http://jqueryui.com/demos/datepicker/#multiple-calendars
问题是当我选择一个日期datepicker关闭,所选日期显示在表单域中。我希望datepicker在选择多个日期时继续显示,并且选择的日期保持突出显示,然后在完成选择日期后点击完成。任何人都可以指出我可以如何实现这一点,还是有一个预先存在的jQuery代码?
尝试此插件(页面附近的示例): http://multidatespickr.sourceforge.net/
I have a form and on that form I would like to have a datepicker. So when someone clicks select dates field the datepicker pops up and shows multiple months. From there I would like for the person to click individual dates, each click the date they selected gets appended to the form field comma seperated. Im looking for a jquery solution, right now Im looking at:
http://jqueryui.com/demos/datepicker/#multiple-calendars
The problem is when I select a date the datepicker closes then the date selected shows up in the form field. I want the datepicker to continue to show while they select multiple dates and the dates they selected stay highlighted, then click done when they are done selecting dates. Can anyone point me to how I can accomplish this or is there a pre-existing jquery code that does that?
try out this plugin (demo near bottom of page): http://multidatespickr.sourceforge.net/
这篇关于使用Jquery / Datepicker逐个选择多个日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!