Hey Guys,

Im having difficulty trying to work this out.

Im trying to grey out the dates that have already been entered into the database.

heres what I tried

**database stuff**

  $(document).ready(function() {
    $("#datepicker").datepicker({minDate: 0,
         beforeShowDay: booked
      function booked(date){
          var day = date.getDay('$grey, $grey2');
                      return [(day > 0), ''];
im new with this stuff so go easy