0

我认为这些天最好的日期选择器之一仍然是 Kelvin Luck 的 jquery-datepicker

http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/

但是,最新的 jquery (jquery 1.7+) 默默地破坏了这个 datepicker。我只是想知道是否有人调查过这个问题,或者我们如何解决这个问题

4

2 回答 2

3

我更喜欢使用 jquery-ui 中的 datepicker,我不知道它是否不同,但它似乎与 jquery 版本更同步,拥有更大的用户群和开发人员池。

于 2012-03-01T22:26:11.810 回答
0

They did fix it for jQuery 1.7.

The code is maintained on GitHub here: https://github.com/vitch/jQuery-datepicker

An update to the fix for jQuery 1.7 is mentioned here: https://code.google.com/archive/p/jquery-datepicker/issues/377

I updated to the latest version in a client application today and am able to get the DatePicker to appear now in jQuery 1.7. At this moment, the latest commit to their GitHub repo is from August 2014, so it's been more than a year... as long as it's been stable since then I see no reason why it should have needed frequent updating.

于 2016-03-21T22:28:58.423 回答