jquery-ui/demos/datepicker/default.html

34 lines
1.0 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
2008-12-30 04:16:51 +00:00
<html lang="en">
<head>
2010-09-10 12:50:53 +00:00
<meta charset="utf-8">
<title>jQuery UI Datepicker - Default functionality</title>
2010-09-10 12:50:53 +00:00
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
2011-10-18 14:00:03 +00:00
<script src="../../jquery-1.6.4.js"></script>
2010-09-10 12:50:53 +00:00
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js"></script>
<script src="../../ui/jquery.ui.datepicker.js"></script>
<link rel="stylesheet" href="../demos.css">
<script>
2008-12-30 04:16:51 +00:00
$(function() {
2010-09-10 12:50:53 +00:00
$( "#datepicker" ).datepicker();
2008-12-30 04:16:51 +00:00
});
</script>
</head>
<body>
<div class="demo">
2009-01-01 00:27:45 +00:00
<p>Date: <input type="text" id="datepicker"></p>
2008-12-30 04:16:51 +00:00
</div><!-- End demo -->
2010-09-10 12:50:53 +00:00
<div class="demo-description">
<p>The datepicker is tied to a standard form input field. Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay. Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.</p>
</div><!-- End demo-description -->
2008-12-30 04:16:51 +00:00
</body>
</html>