📜  datepicker 1900 年 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:23.747000             🧑  作者: Mango

代码示例2
bootstrap datepicker
//newer
In JavaScript, set the datepicker's assumeNearbyYear attribute to true, like this:

$("#dp").datepicker({
    assumeNearbyYear: true
});

//ver 1.4
        $(this).datepicker({
            dateFormat: 'dd-mm-yy',
            prevText: '',
            nextText: '',
            minDate: "01-01-2021",
            maxDate: "01-12-2090"
        });