it is possible to add a class to datepicker cell(day). to use with
beforeShowDay

example:
$("#Text1").datepicker({ beforeShowDay:  nationalDays,showOtherMonths:
true,showWeeks: true, firstDay: 7,changeFirstDay: false});

function nationalDays(date) {
    for (i = 0; i < natDays.length; i++) {
      if (date.getMonth() == natDays[i][0] - 1
          && date.getDate() == natDays[i][1]
          && date.getFullYear() == natDays[i][2]) {
        return [false, natDays[i][0][1] ];



        $(".ui-datepicker-days-cell").addclass("desocupa");



}
    }
  return [true, ''];
}
});

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to