asmaoui / jquery-datepicker

Automatically exported from code.google.com/p/jquery-datepicker
0 stars 0 forks source link

Option to define the max amount of dates allowed for selectMultiple #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From: http://plugins.jquery.com/comment/reply/3702

I'm working on project which can not have more than 5 dates selected. It
would be great to have the ability to define the max amount of selectMutiple.

Original issue reported on code.google.com by kelvin.l...@gmail.com on 12 Dec 2008 at 11:01

GoogleCodeExporter commented 9 years ago

Original comment by kelvin.l...@gmail.com on 17 Dec 2008 at 4:41

GoogleCodeExporter commented 9 years ago
Here's a patch to make this. I've done this for my project today.

Original comment by iofr...@gmail.com on 5 Feb 2009 at 9:58

Attachments:

GoogleCodeExporter commented 9 years ago
Almost forgot, you should also update your CSS with style for class 
".notavailable". 
It appears on any of the days, if you're used all available days. When you 
unset 
some, it backs to normal.

Hope to see my patch commited!

Cheers!

Original comment by iofr...@gmail.com on 5 Feb 2009 at 10:01

GoogleCodeExporter commented 9 years ago
Thanks for the patch ioframe, I'll try and include it in the plugin soon :)

Original comment by kelvin.l...@gmail.com on 5 Feb 2009 at 11:44

GoogleCodeExporter commented 9 years ago
Implemented in r48. I named the variables slightly differently to you ioframe 
but
hopefully it will be easy for you to adjust your page to match the new code... 
Thanks
again for the patch :)

Original comment by kelvin.l...@gmail.com on 9 Feb 2009 at 4:13