Created
October 28, 2011 20:54
-
-
Save rioleo/1323525 to your computer and use it in GitHub Desktop.
Calendar and Slider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
//reset type=date inputs to text | |
$( document ).bind( "mobileinit", function(){ | |
$.mobile.page.prototype.options.degradeInputs.date = true; | |
}); | |
</script> | |
<link rel="stylesheet" href="datepicker/jquery.ui.datepicker.mobile.css" /> | |
<script src="datepicker/jQuery.ui.datepicker.js"></script> | |
<script src="datepicker/jquery.ui.datepicker.mobile.js"></script> | |
<label for="date">Date Input:</label> | |
<input type="date" name="date" id="date" value="" /> | |
<div data-role="fieldcontain"> | |
<label for="slider">Input slider:</label> | |
<input type="range" name="slider" id="slider" value="0" min="0" max="100" /> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment