Would it be possible to supply a working example I can view? My jQuery skills are novice at best.
TIA On Jun 26, 9:52 am, Fontzter <[email protected]> wrote: > There is a beforeShowDay event that you can use to evaluate the date > and decide whether to enable it or not. > > http://jqueryui.com/demos/datepicker/#event-beforeShowDay > > 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. > Code examples > > Supply a callback function to handle the beforeShowDay event as an > init option. > > $('.selector').datepicker({ > beforeShowDay: function(date) { ... } > }); > > Hth, > > Dave > > On Jun 25, 3:26 pm, Developr <[email protected]> wrote: > > > Any way to provide a array of dates that cannot be selected? I know > > there is the min/max, but I need to just disable certain dates in the > > middle of a range. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
