Skip to content

Latest commit

 

History

History
74 lines (50 loc) · 2.1 KB

README.md

File metadata and controls

74 lines (50 loc) · 2.1 KB

jQuery-Mobile-DateBox

DateBox is a jQuery-mobile based date and time picker. Full Documentation and Demos

DateBox Features

  • Multiple display and entry modes for dates, times, and durations
    • Android style
    • Full Calendar display
    • Flip (IOS) style
    • Slide style
  • Multiple window modes
    • Popups (2 versions)
    • Dialog (own page)
    • Inline and Slide-Dow
  • Fully localized - 40+ languages pre-configured
  • Fully custiomizable output formats
  • Supports multiple methods of limiting valid date entry
  • Supports entry, exit, creation, selection, change, and more programming hooks

Special Thanks

An extra special thanks to Phill Pafford for answering tons of questions about DateBox, and jQueryMobile in general on StackOverflow.

And last but not least, thanks to all the contributors to the project on github.

Downloading

All scripts are available on the cdn:

DateBox uses the following version scheme:

http://cdn.jtsage.com/datebox/<jqm VERSION>/

You must load:

  • jqm-datebox.core.js (or min)
  • AND:: jqm-datebox.mode.<yourmode>.js

OR (if using only one mode)

  • jqm-datebox.comp.<yourmode>.js

Latest Versions:

cdn repo

Suggested Use

With Option Overrides:

<input type="date" data-role="datebox" name="somedate"
	data-options='{"mode": "datebox", "overrideDateFormat": "mm/dd/YYYY"}' />

Global Option Overrides:

// AFTER loading jQM
jQuery.extend(jQuery.mobile.datebox.prototype.options, {
	'overrideDateFormat': 'dd.mm.yyyy',
});

Available Options

Please see the full api documentation at: dev.jtsage.com

Runtime Operation (Scripting / Extending)

Please see the full api documentation at: dev.jtsage.com