私のdatepickerは17歳の年齢に制限されています。私が1907年を示すカレンダーのデフォルトを開くと、私はカレンダーの最大日付である-17yrを見たいと思う。datepickerのデフォルトの日付をMaxの日付に設定する
$("#BirthDate").datepicker({
changeMonth: true,
changeYear: true,
yearRange: '-110:-18',
showOn: "button",
buttonImageOnly: true,
beforeShow: function() {
$('#ui-datepicker-div').css('z-index', 9999);
},
dateFormat: 'mm/dd/yy',
maxDate: '-17Y'
});
あなたが使用している日付ピッカーライブラリ – Rahul
[Jquery Date picker Default Date](https://stackoverflow.com/questions/6646376/jquery-date-picker-default-date)の可能な複製 – VincenzoC