How to set min and max date in the JQueryUI DatePicker in ASP.Net MVC 5 Application
问题 Ok, so after following this Date Picker Tutorial I am able to create a datepicker. But I want to set some limit to the date picker. For example I only want the date picker to allow from 5th Jan 2017 to 5th Aug 2017". How can I achieve this. Note that I don't want to change the dateFormat property of the datepicker. Also, dateformat property is working properly. Below is what I have till now: <script type="text/javascript"> $(function () { $(".date-picker").datepicker({ dateFormat: 'dd-M-yy',