Skip to content

yonasstephen/jquery-mobile-datepicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published