diff options
author | Richard Worth <rdworth@gmail.com> | 2009-01-02 03:56:06 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2009-01-02 03:56:06 +0000 |
commit | ae2fa8cf166398fb8de616511b332e333753b373 (patch) | |
tree | d7d60b41ac1f23e3f27c8dbc397225fc94478939 /demos/datepicker/alt_field.html | |
parent | d3bf099f612fb2337683788fb4c8d7ebc2b8df3f (diff) | |
download | jquery-ui-ae2fa8cf166398fb8de616511b332e333753b373.tar.gz jquery-ui-ae2fa8cf166398fb8de616511b332e333753b373.zip |
mime-type and eol-style
Diffstat (limited to 'demos/datepicker/alt_field.html')
-rw-r--r-- | demos/datepicker/alt_field.html | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/demos/datepicker/alt_field.html b/demos/datepicker/alt_field.html index 70108a194..24e93021a 100644 --- a/demos/datepicker/alt_field.html +++ b/demos/datepicker/alt_field.html @@ -1,33 +1,33 @@ -<!doctype html>
-<html lang="en">
-<head>
- <title>jQuery UI Datepicker - Alternate Field</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() {
- $("#datepicker").datepicker({altField: '#alternate', altFormat: 'DD, d MM, yy'});
- });
- </script>
-</head>
-<body>
-
-<div class="demo">
-
-<p>Date: <input type="text" id="datepicker"> <input type="text" id="alternate" size="30"/></p>
-
-</div><!-- End demo -->
-
-<div class="demo-description">
-
-<p>The datepicker can populate an alternate field, with its own format, whenever a date is selected.
- This feature might be used to present a human-friendly date for user selection,
- while passing a more computer-friendly date through for further processing.</p>
-
-</div><!-- End demo-description -->
-
-</body>
-</html>
+<!doctype html> +<html lang="en"> +<head> + <title>jQuery UI Datepicker - Alternate Field</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() { + $("#datepicker").datepicker({altField: '#alternate', altFormat: 'DD, d MM, yy'}); + }); + </script> +</head> +<body> + +<div class="demo"> + +<p>Date: <input type="text" id="datepicker"> <input type="text" id="alternate" size="30"/></p> + +</div><!-- End demo --> + +<div class="demo-description"> + +<p>The datepicker can populate an alternate field, with its own format, whenever a date is selected. + This feature might be used to present a human-friendly date for user selection, + while passing a more computer-friendly date through for further processing.</p> + +</div><!-- End demo-description --> + +</body> +</html> |