Mobi Pick - Progressive enhancement demo

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.
			yepnope({
				test: Modernizr.inputtypes.date,
				nope: [
					"external/xdate.js", 
					"external/xdate.i18n.js", 
					"js/mobipick.js", 
					"demo/mobipick-custom.js",
					"css/mobipick.css"
				]
			});
mobipick-custom.js 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.