If you want to do something special in the daytime freeze, you can attach the .live handler (or delegate), you need to live, since the date-picker is created after dom has finished loading into the day element and does something like a search if you need to display a tooltip, window, or something else unique on dom.
$(".ui-datepicker-calendar .ui-state-default").live("hover", function() { var month = $(".ui-datepicker-month").text(); var year = $(".ui-datepicker-year").text(); var day = $(this).text();
A simple jsfiddle example.
However, if you find that the jQuery UI datepicker does not meet your needs, check out the original datepicker plugin, which offers many options. In addition, it also offers some more events in the datepicker format.
Mark coleman
source share