怎么设置datepicker控件中的可选日期范围?求解答!

怎么设置datepicker控件中的可选日期范围?求解答!!!!!!!

bootstrap的?有startDate和endDate设置,API:http://bootstrap-datepicker.readthedocs.io/en/latest/options.html#startdate

DEMO,只允许选择2017-5-3~2017-5-23

 <input class="datepicker">
<script>
    $('.datepicker').datepicker({
        format: 'mm/dd/yyyy',
        startDate: new Date('2017/5/3'),
        endDate: new Date('2017/5/25'),
        language: 'zh-CN'
    });
</script>

这个你要看一下你引的对应日期插件的源码了