jquery-ui/demos/datepicker/default.html

32 lines
1.0 KiB
HTML
Raw Normal View History

2008-12-30 04:16:51 +00:00
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Datepicker - Default functionality</title>
<link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.3.js"></script>
2008-12-30 04:16:51 +00:00
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
<link type="text/css" href="../demos.css" rel="stylesheet" />
2008-12-30 04:16:51 +00:00
<script type="text/javascript">
$(function() {
2009-01-01 00:27:45 +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 -->
<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>