A simple yet powerful date picker based in Nepali calendar. Supports both single date selections and
multiple date selection.
Multiple date selection can be done by pressing Shift or Control / Command key.
Include these files
<script src="/path/to/jquery.js"></script><!-- jQuery is required -->
<link href="/path/to/nepali-date-picker.css" rel="stylesheet">
<script src="/path/to/nepali-date-picker.js"></script>
Initialize with $.fn.nepaliDatePicker method.
<input class="datepicker">
$('.datepicker').nepaliDatePicker();
By default it is in multiple date selection mode. If you want to use single date selection mode then
just add data-single="true"
in your markup.
<input class="datepicker" data-single="true">
By default calendar will show in Nepali lanauge. To show in English lanuage jsut add data-locale="en"
into your markup .
<input class="datepicker" data-locale="np">
In multiple date selection mode, selected date can be displayed in 3 different ways.
* dates selected
data-show_all_dates="true"
in input field.
[Example 5]<input class="datepicker" data-show_all_dates="true">
Download this plugin from GitHub.com
Sanil Shakya - (https://www.sanil.com.np)
This plugin is free to use in any commercial or personal project. Check license here : LICENSE.md