I'm not sure if you can disable a day, but you can clear the text of the associated text input when a date you do not wish to allow is selected. Use the onSelect option to test the selected date. Here is a quick sample.
//setup calendar control jQuery(document).ready ( function() { $("#testDate").datepicker({ duration: "", showOn: "button", buttonImage: "calendar.gif", buttonImageOnly: true, dateFormat: "mm/dd/yy", //note: yy is 4 digit year http://docs.jquery.com/UI/Datepicker/datepicker#.22option.22settings onSelect: function(dateText) { var dt = new Date(dateText); //do not allow Sundays if(dt.getDay() == 0 ) { this.value = ""; //clear input associated date picker } } }); } ); On Jan 7, 2:09 pm, Courtney <cbriarn...@gmail.com> wrote: > Is there a way to provide the DatePicker with a list of disabled days? > Or is this beyond the scope of the project? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery-ui@googlegroups.com To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---