umair96 / jquery-datepicker

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

Disable certain days #288

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is the link I got to submit an enhancement request so...

I would love to be able to disable certain days of the week, such as Saturday 
and Sunday. I only want to allow selecting Monday through Friday. Also, it 
would be great to then only allow up to one business week after that in a 
second calendar, but still not allowing weekends. Something like this may 
already be available, I just don't know where to find it.

Thanks in advance!

Original issue reported on code.google.com by rossekb...@gmail.com on 10 Jun 2011 at 8:40

GoogleCodeExporter commented 8 years ago
There are a number of demos showing the stuff you are talking about on the date 
picker homepage:

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

Have a look at "datePicker with a custom cell renderer" for your first 
question. For your second question, "Start and end date pickers" should give 
you a push in the right direction...

Original comment by kelvin.l...@gmail.com on 11 Jun 2011 at 9:15