r2293 - datepicker: added event-search demo, combining various options to select a daterange with...

r2293 - datepicker: added event-search demo, combining various options to select a daterange with...


Author: joern.zaefferer
Date: Sat Mar 14 07:28:10 2009
New Revision: 2293
Modified:
trunk/demos/datepicker/event-search.html (contents, props changed)
Log:
datepicker: added event-search demo, combining various options to select a
daterange with two inputs
Modified: trunk/demos/datepicker/event-search.html
==============================================================================
--- trunk/demos/datepicker/event-search.html    (original)
+++ trunk/demos/datepicker/event-search.html    Sat Mar 14 07:28:10 2009
@@ -1,42 +1,42 @@
-<!doctype html>
-<html lang="en">
-<head>
-    <title>jQuery UI Datepicker - Display multiple months</title>
-    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
-    <script type="text/javascript" src="../../jquery-1.3.2.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() {
-        var dates = $('#from, #to').datepicker({
-            defaultDate: "+1w",
-            changeMonth: true,
-            numberOfMonths: 3,
-            onSelect: function(selectedDate) {
-                var option = this.id == "from" ? "minDate" : "maxDate";
-                dates.not(this).datepicker("option", option, new Date(selectedDate));
-            }
-        });
-    });
-    </script>
-</head>
-<body>
-
-<div class="demo">
-
-<label for="from">From</label>
-<input type="text" id="from" name="from"/>
-<label for="to">to</label>
-<input type="text" id="to" name="to"/>
-
-</div><!-- End demo -->
-
-<div class="demo-description">
-
-

Select the date range to search for.


-
-</div><!-- End demo-description -->
-
-</body>
-</html>
+<!doctype html>
+<html lang="en">
+<head>
+    <title>jQuery UI Datepicker - Display multiple months</title>
+    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
+    <script type="text/javascript" src="../../jquery-1.3.2.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() {
+        var dates = $('#from, #to').datepicker({
+            defaultDate: "+1w",
+            changeMonth: true,
+            numberOfMonths: 3,
+            onSelect: function(selectedDate) {
+                var option = this.id == "from" ? "minDate" : "maxDate";
+                dates.not(this).datepicker("option", option, new Date(selectedDate));
+            }
+        });
+    });
+    </script>
+</head>
+<body>
+
+<div class="demo">
+
+<label for="from">From</label>
+<input type="text" id="from" name="from"/>
+<label for="to">to</label>
+<input type="text" id="to" name="to"/>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+

Select the date range to search for.


+
+</div><!-- End demo-description -->
+
+</body>
+</html>