🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

A flexible & mobile-friendly jQuery date range picker which allows to select a date range from a stylish calendar popup with custom preset ranges.

Date-Picker date-range

Documentation

Date Range Picker

Date Range Picker is a jQuery plugin to easily create UI elements that simplify the selection of date ranges. It also works on mobile or touch enabled devices. It uses jquery plugin jquery.finger to handle touch events.

Setup

Add the .js and .css files to your site. Copy the calendar-icon.png file to the same folder as the .css file.

<link rel="stylesheet" href="css/dateRangePicker.css"/> <script src="js/jquery.finger.min.js"></script> <script src="js/jquery.dateRangePicker.min.js"></script>

Basic Usage

Easily create a date range selector. Just define an input element of type text, and create a DateRangePicker from it using jQuery. startDate and endDate are the only required fields.

HTML

<input type="text" id="calendar-1"/>

js

$('#calendar-1').DateRangePicker({     startDate: '2012-05-13',     endDate: '2014-12-31' });

Examples, Demo and Documentation

For more examples and documentation go to elohr.me


You May Also Like