<script type="text/javascript">
$(document).ready(function () {
$("#<%=txtBirth.ClientID%>").datepicker({
yearRange: "-112:+0", //this is displaying 112years
minDate: new Date(1900, 12 - 1, 31),
maxDate: new Date(2012, 12 - 1, 31),
changeMonth: true,
changeYear: true
});
});
</script>
No comments:
Post a Comment
Comments