|
Project Information
Featured
Links
|
Features: - Pops up lists of years, months etc down to 5 minute resolution. One click populates the input field
- Checks that the fields are input controls and behaves differently for type=date, time, datetime, datetime-local
- Uses the min and max attributes on the input field
- Allows styling with css
- Tested in FF3. Seems at first glance to also work in FF3.5, IE8
- About 3.3KiB minified and gzipped
Short term project aims: - Support different date formats, not just HTML5 global date and time strings
- Popup whatever is currently in the field
- Add documentation
- Please use the issue tracker for bugs, or suggestions for features and I will consider adding them to this list
Use: - Include the css:
<link href="./jquery.dtpicker.css" rel="stylesheet" type="text/css">
- Include the library (after jQuery and optionally the jQuery metadata plugin):
<script type="text/javascript" src="./jquery.dtpicker.js"></script>
- Call 'dtpicker' on the input fields:
$("input").dtpicker();
Demonstration page: here Screenshot:
|