show availability with datepicker
Hi.
I have this idea to show availability in datepicker. I would like to
show the days in red when theres no availability and in green when is
available.
I cant figure how i reference the days in datepicker.
example:
for i = cdate(rs.fields.item("inicio")) to cdate(rs.fields.item
("fim"))
if i = notAvailable then datepicker_day class=notAvailableClass
or how to use the beforeShowDay option in this case