Using an array of dates to show in DatePicker


1) Import the JQuery and JQuery UI to your project.

2) Declare the Array dates:

Note: You add in this array dates that you desired.

3) Declare which input text will get the calendar widget.

4) We took the value selected on the calendar

5) Created the rule to validate what dates will be displayed:

The end result will be this: