M.Tanzil M.Tanzil - 1 year ago 72
Javascript Question

Pick Date range in jQuery-UI Datepicker

I am developing a site where i am using jQuery-UI datepicker, the problem is i need to select all the dates and put it into an array when the user select a start date and end date using

A Single
UI datepicker.

i checked the jQuery-UI documentation but found nothing that solve my problem.

I want date-range to be picked up like this.

enter image description here

i have to use jQuery-UI, so any useful idea will be appreciated,


Answer Source

I created datepicker like this, so no need for more answers. Thanks

Here is working Fiddle

enter image description here