1. Introduction
jsRapDateTimePicker is a super simple jQuery plugin allows users to pick a date and time from Year, Month, Day, Hour, Minute, Second dropdown select elements.
2. Plugin Overview
Library | jsRapDateTimePicker |
Author | Thibor |
Licence | MIT Licence |
Repository | GitHub |
Dependencies | jQuery 1.3.1 or Latest version |
3. How to install and use jsRapDateTimePicker jQuery plugin
Follow the below steps to install jsRapDateTimePicker jQuery plugin on your website.
3.1. Load the jQuery library and jsRapDateTimePicker js and css files into your HTML document:
3.2. Create DIV element with unique id:
3.2. Initialize the plugin:
After initialization, the plugin will create six dropdowns for a year, month, day, hour, minute and second selection.
Additionally we can provide a different labels:
3.3. Initialize the plugin with custom captions for year, month, day:
and attach the callback function that will run after value change:
3.4. Initialize the plugin with callback function:
4. Conclusion
In this article, we presented jsRapDateTimePicker jQuery plugin that can be used as a date/time picker component on HTML forms. The plugin uses the jQuery framework and is very easy to integrate on the websites or apps.
{{ 'Comments (%count%)' | trans {count:count} }}
{{ 'Comments are closed.' | trans }}