Created
July 11, 2012 20:15
-
-
Save hcmn/3093031 to your computer and use it in GitHub Desktop.
JQuery UI: Datepicker
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
<html> | |
<head> | |
<title>Datepicker!</title> | |
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/themes/base/jquery-ui.css"/> | |
</head> | |
<body> | |
<p>Date: <input type="text" id="dateEntry"></p> | |
</body> | |
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js" type="text/javascript"></script> | |
<script src="script.js"></script> | |
</html> |
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
$(function() { | |
// Select the <div> dateEntry here and then apply datepicker() | |
$('#dateEntry').datepicker(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment