Hi,

I think you want to write a handler for the event 'beforeShowDay'.

>From the documentation:

"
beforeShowDay

    function(date)

The function takes a date as a parameter and must return an array with
[0] equal to true/false indicating whether or not this date is
selectable, [1] equal to a CSS class name(s) or '' for the default
presentation and [2] an optional popup tooltip for this date. It is
called for each day in the datepicker before is it displayed.

"

This means you can just check whether the day is one of your special
days in your list, and if it is, you set a custom class that you can
then style via CSS.


Hope that helps,

Thomas


On Dec 18, 3:13 pm, Mauricio Vargas <pixelcriat...@gmail.com> wrote:
> Hi,
>
> I'm using the Datepicker that comes with the jQuery UI.
> I would like to keep some dates, in this calendar, checked.
> I'm bringing some dates in the format 12-31-2009 from my mySql, and i would
> like to put those dates in the datepicker, and show them selected.
> Do someone knows how to do this? or have an idea?
> if i didnt explained too well, i will be glad to try again.
>
> Thank you,
>
> Mauricio Vargas

Reply via email to