How to Loop Into jQuery UI Restricted DatePicker
I am trying to restrict the jQury UI DatePicket to Current year only and so far it is working fine at
This Demo I used the following code to do the job
- $("#datepicker").datepicker({
- minDate: new Date(2013, 12, 1),
- dateFormat: 'dd/mm/yy',
- maxDate: new Date(2014, 11, 31)
- });
As you can see the Previous and Next buttons disable at January (Previous Click) and December (Next click) but just wondering if there is a way to create a circular action(re start) at the end or beginning like
- ..<-October <-November <-December <-January -> .... ->November ->December->January -> Feb...>
Thanks