Public Datebox Functions
There a a number of public DateBox functions. Refer to the API documentation for full use, but at a glance they are used something like this:
- “open” : Open the DateBox control
- “close” : Close the DateBox control
- “disable” : Disable the DateBox control
- “enable” : Enable the DateBox control
- “destroy” : Destroy the DateBox control / de-enhance input
- “refresh” : Refresh the DateBox control
- “getTheDate” : Return the current date object
- “setTheDate” : Set the date (date object)
- “getLastDur” : Get the last set duration
- “{}” : Set an option
- “getOption” : Retrieve an option’s value
- “callFormat” : Return a formatted date
- “applyMinMax” : Apply new min/max attributes