yonasstephen / jquery-mobile-datepicker

JQueryMobile plugin for date/month picker

Repository from Github https://github.comyonasstephen/jquery-mobile-datepickerRepository from Github https://github.comyonasstephen/jquery-mobile-datepicker

jquery-mobile-datepicker

The underlying purpose of creating this was because I developed iOS/Android app using JQueryMobile for my front-end. Problem arises when you use <input type='date'> or <input type='month'> on Android version 4.4 below; their WebView does not support these types of input. Therefore, to provide consistency across all versions this was made!

This version of datepicker is tested with JQuery Mobile v1.4.2 and JQuery v1.10.2

Live Demo

Check out the live demo in JSFiddle: [click here](http://jsfiddle.net/2pz3urur/)

How To Use?

Let's assume these are your inputs: ``` // Date picker

// Month picker


To call jquery-mobile-datepicker, do this:

// Date picker $('.datepicker').datepicker();

// Month picker $('.monthpicker').monthpicker();


As simple as that!

<h2>Dependency</h2>
This plugin requires JQuery, JQueryMobile, and FontAwesome. Put the following tags on your header:

// JQuery 2.1.1

<script src='//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js'> // JQuery Mobile <script src='//cdnjs.cloudflare.com/ajax/libs/jquery-mobile/1.4.1/jquery.mobile.min.js'> // Font Awesome ```

About

JQueryMobile plugin for date/month picker


Languages

Language:JavaScript 84.6%Language:CSS 15.4%