I'm looking for a javascript drop-down for a date range that allows the user to select start and end dates from a single form field, similar to what exists in the Google Analytics UI.
I've found a lot of pre-existing javascript for two separate form fields, or for using a calendar to choose a single date, but nothing that accomplishes what the Google Analytics date range selector does. Does anyone know of a good pre-built tool that does this, or am I stuck building it myself?