How to do changes in Jquery date range picker?
I have created a Jquery date range picker.
I am able to select the dates and is able to show it in a textbox. Now what I need is, I need to disable certain dates and assign different classes to those dates.
Eg: I must be able to give class A to April 2, class B to April 4 etc.
I have tried the results I got while I googled but nothing helped.
What I am trying to do is:
I will pass some dates and classes to be assigned to those dates. That class should be assigned to those dates and also, I must have option to enable or disable those dates.
The next thing I am trying to do is
If there is a disabled date in between 2 dates, then that range cannot be selected.
Eg: I want to select April 2 to April 7 and April 5 is a disabled date.
So I could be able to select either April 2 to April 4 or April 6 to April 7.
That means only one range should be selectable.
Please help to solve this.
Please find the fiddle [**here**][1]
[1]: http://jsfiddle.net/sWbfk/