Datepicker: only certain days are selectable

Datepicker: only certain days are selectable

To make only certain days of the datepicker selectable, I have to the file jquery.ui.datepicker.js made some minor changes. Using a function, it is possible to provide some days with the tag "ui-state-disabled".

Example usage:
  1.             $('input[name="_date"]').datepicker({
                    disable_date: function(date, month, year) {
                        return day % 2 == 0;
                    }
                });



In the Annex you will find the modified file and the modifications listed individually.