the code that defines the date picker in the code you posted is:
$(function(){
$('#Registration_group_1_Date_Of_Birth').datepicke r({
changeMonth: true,
changeYear: true,
onClose: closeDatePicker_Registration_group_1_Date_Of_Birth
});
});
you can add the min and max date lines to that code:
$(function(){
$('#Registration_group_1_Date_Of_Birth').datepicke r({
changeMonth: true,
changeYear: true,
minDate: new Date(2000, 0, 1),
maxDate: new Date(2012, 11, 31),
onClose: closeDatePicker_Registration_group_1_Date_Of_Birth
});
});
to show date before 2002, set the min date to use a year prior to 2002, for example:
minDate: new Date(2000, 0, 1),