SO - 21011110

by Superman

HTML

<input />

CSS

.highlight a.ui-state-default {
    color: green;
    background: white;
}

JavaScript

var datet = ['2015/01/19', '2015/01/20'];
//tips are optional but good to have
var tips = ['some description', 'some other description'];
var arrayable = ['2015/01/01', '2015/01/08', '2015/01/15', '2015/01/22', '2015/01/29']
$('input').datepicker({
    dateFormat: 'yy/mm/dd',
    beforeShowDay: function (date) {
        var datestring = jQuery.datepicker.formatDate('yy/mm/dd', date);
        var hindex = $.inArray(datestring, datet);
        if (hindex > -1) {
            return [true, 'highlight', tips[hindex]];
        }
        var aindex = $.inArray(datestring, arrayable);
        return [aindex == -1]
    }
});