Reputation: 91
Im using datepicker in div with this configuration"
$("#homeDatepicker").datepicker({ numberOfMonths: 3, dateFormat: 'dd-mm-yyyy', firstDay: '1' ... });
how do i know which monts are currently displayed in div (user can navigate to display next and previous one).
i want to load some external data using ajax depending on this data.
Upvotes: 0
Views: 294
Reputation: 445
As indicated in this link http://jqueryui.com/datepicker/#multiple-calendars The current month based on today's date and followed by next two months are displayed.
Upvotes: 1