I think the "beforeShowDay" event would be what you need

http://www.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"

So your "true/false" would be checking the "getDay()" (http://
www.devguru.com/technologies/ecmascript/QuickRef/date.html) of the
given date

On Mar 29, 12:35 pm, jaybee <[email protected]> wrote:
> using the latest jquery UI datepicker, is it possible to block out
> certain days, like Sat and Sun.  our office doesn't open on the
> weekend, so there's no point in letting people pick those days for
> appointment.

Reply via email to