jquery open calendar to specific month
问题 On click of textbox, a calendar opens with current month. I want to open the calendar to specific date.Currently, the calendar opens opens to current month view. Can some one please help me with this? Thanks! Select Date: <input type="text" id="datepicker"/> $('#datepicker').datepicker({ dateFormat: 'mm-dd-yy', beforeShowDay: enableAllTheseDays, onSelect: function (date, inst) { //MyLogic } }); 回答1: You can use the defaultDate option to open to a specific date. Let's assume you want it to