You can use the minDate property, for example:
$("input.DateFrom").datepicker({ changeMonth: true, changeYear: true, dateFormat: 'yy-mm-dd', minDate: 0, // 0 days offset = today maxDate: 'today', onSelect: function(dateText) { $sD = new Date(dateText); $("input#DateTo").datepicker('option', 'minDate', min); } });
You can also specify a date, for example:
minDate: new Date(),
Rory McCrossan Feb 11 '13 at 10:48
source share