[jQuery] Changing the Cell Colors in DatePicker

[jQuery] Changing the Cell Colors in DatePicker


I've tried to two different datepicker scripts and what I'm trying to
do is hilite which dates satisfy a certain condition.
For example, when the page loads I will make a JSON call to the server
to return all dates that are holidays, then on the inline datepicker I
want to hilite those cells in red.
What I'm doing now is something like this in the JQuery-UI datepicker
implementation but nothing works:
        'onChangeMonthYear':
                function(date){
                    $(".ui-state-default").each(
                        function(){
                            $(this).attr("color", "red"); //for testing, change font color
                        }
                    );
                }
            });