-2
このコードを修正する手助けができますか?私は、将来のような他の日付を選択することなく、1990年から2000年の間の日付だけを選択したいと考えています。 https://jqueryui.com/datepicker/#min-max:この日付選択ツールで、1990年から2000年の日付を選択してください。
<script>
$(document).ready(function(){
$("#EmpBirthdate").datepicker({
dateFormat: 'yy-mm-dd',
showOn: "button",
buttonImage: "images/calendar.gif",
buttonImageOnly: true,
changeMonth: true,
changeYear: true,
yearRange: "-30"
});
});
</script>
を属性を使用することができます –