PERSIAN Datepicker

a lightweight jQuery plugin for select persian date with selectable months and years and other options



mohammadhasan.behzadi@gmail.com
persian date: a label : selected before: show always:

More demos and information


About


persianDatepicker is A lightweight jQuery plugin that select persian(jalali) date.


Usage


1- include jQuery & persianDatepicker.js & persianDatepicker.css

<link type="text/css" rel="stylesheet" href="css/persianDatepicker.css" />
<script type="text/javascript" src="js/jquery-1.10.1.min.js"></script>
<script type="text/javascript" src="js/persianDatepicker.min.js"></script>

2- add your html element (input or span or etc)

<input type="text" id="input1" />
<span id="span1"></span>

3- call the persianDatepicker plugin

<script type="text/javascript">
    $(function() {
        $("#input1, #span1").persianDatePicker();       
    });
</script>

use, share , fork , enjoy! , ...



© copy right by mbehzadi.com