Class: DatePicker
DatePicker.Extras extends DatePicker to include range selection and time entry.
Tutorial/Demo
Syntax
new DatePicker(inputs[, options]);
Arguments
- inputs - (mixed) one or two inputs for the picker; if using range selection, pass in an array of inputs (start and end times), else a single input
- options - (object) a set of key/value settings
Options
- format - (string) see Date and Date.Extras; defaults to "%x %X", which outputs '12/31/1999 12:59PM'
- extraCSS - (string) overwritable css styles for the extra date picker content for range and time.
- range - (boolean) whether or not the user can choose a range; defaults to false
- time - (boolean) whether or not the user can enter a time (hours and minutes); defaults to false
Notes
- See DatePicker for more options.