As in many web apps out there, this week I needed a date range picker. I shopped around and while I did find a couple of good options they were (a) too clunky and (b) didn’t prevent you from selecting invalid ranges. The latter being the one I was really interested in.
So I coded up something simple that worked and looked nice and decided to share around. It’s the jquery-daterange-picker. Its only dependencies are jQuery and jQueryUI’s datepicker.
Got get it, fork it, contribute to it or check out some examples.