jquery-ui/demos/datepicker/inline.html

35 lines
914 B
HTML
Raw Normal View History

<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Datepicker - Inline Demo</title>
<link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<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" />
<script type="text/javascript">
$(function() {
2009-01-01 00:27:45 +00:00
$("#datepicker").datepicker();
});
</script>
</head>
<body>
<div class="demo">
2009-01-01 00:27:45 +00:00
Date: <div id="datepicker" /></div>
</div><!-- End demo -->
<div class="demo-description">
2009-01-01 00:27:45 +00:00
<p>
This is an example of an inline date picker that is embedded in the page instead of opening in an overlay.
This is done by calling .datepicker() on a div instead of an input.
</p>
</div><!-- End demo-description -->
</body>
</html>