jQM-Datebox requires a recent version of jQuery (last tested with both 1.9+ and 2. +).
For jQueryMobile, the current DateBox is usually tested with only the latest point release, however it will usually work for a few prior releases.
To know what the current recommendation versions are, take a look near the top of the script file.
For jQueryUI framework operation, only the jQueryUI Widget Factory is required. The plugin will assume that a jQueryUI css theme file is present, but you are welcome and encouraged to create your own. At this time, the .ui-widget-, .ui-button, .ui-state-, and .ui-icon-* classes are actually referenced (DatePicker clases are NOT used). Please see the jQueryUI ThemeRoller for more information.
You will need to include the CSS and JS file for the framework of your choice. If you wish to customize which display modes are available, please use the Download Builder.
Optionally, you can enable mousewheel support for desktop operation of DateBox by including Brandon Aaron’s mousewheel plugin prior to loading DateBox. It is available at: mousewheel
Twitter Bootstrap Version
You should include at least one language file - you can include multiple, and we will cover later how to go about switching languages on the fly. However, if you are storing you user’s language preference server side, it is far preferable to just send the one file they need.
As a note, if you have a production application, it is strongly recomended that you make a local copy of the script files. My “CDN” is a distibution folder on a single server, there is no redundancy, and it is occasionally prone to downtime.
Custom jQueryMobile Builds
If you want to do a custom build of jQueryMobile, I believe the following are the minimum requirements for DateBox to function properly (as of 1.4.5):
- Core : All
- Events: All (added by Core::init)
- Forms: Fieldcontainers, Controlgroups, Text Inputs & Textareas
- Navigation: All (added by Core::init)
- Transitions: Concurrent, Handlers, Serial, Core (added by Core::init) AND Pop Transition
- Utilities: Degrade, Link, Match Media, Zoom (added by Core::init)
- Widgets: First & Last, Loading (added by Core::init) AND Popups