$('#Date_Of_Reservation').datepicker({showAnim: 'fadeIn',minDate: twoBussinessDaysToDays(),constrainInput: true});
My function works fine. The graphical calendar works fine as well - graying out the non-selectable dates. The problem is the validation. While the minDate field is working if the user types the date in manually into the text field they can enter dates prior to the minDate. No validation in regard to the minDate occurs. Is there an elegant solution for this problem?
Edit: It does work great when I push enter after putting something in the text field. But when I tab or click somewhere else the validation isn't triggered.