Progressive enhancement demo
If your browser has native support for date inputs, you should see these below. In any other browser, Mobi Pick will appear.
In this case you need a date input!
<input type="date" />
Load Mobi Pick and dependencies when browser has support for date inputs. Requires Modernizr
contains the following code, which applies Mobi Pick to date input (basic configuration).
$( "input[type='date']" ).mobipick();
Created by Christoph Baudson. Feel free to check out my blog