Try this. Set the overall minimum and maximum allowed dates. Then set up the slider for a range selection within these limits, and show the results in two input fields. Note that the datepicker plugin is required for the formatting of the dates.
I am new to jQuery. I was able to implement the slider and it works, and when i submit the first time, the values passes, but when I select additional dates and submit, only the first submitted dates show. The slider datepicker loses value when submitted the second time.