Firstly we dont want the user to choose the date late than today aren't we?
So this code will make it up for us:
$(function() {$('#txtBirthDate').datepick({maxDate: 0},yearRange:('-30:+0'));
});
The code yearRange:('-30:+0') is for make the dropdown years to be 30 years earlier than today
The code yearRange:('-30:+0') is for make the dropdown years to be 30 years earlier than today
No comments:
Post a Comment