diff options
author | Kyle Wilkinson <kai@wikyd.org> | 2010-11-19 15:54:49 -0800 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-11-21 09:41:27 -0500 |
commit | f070b0a24b7f44b69edfdcd790fd5b72883c11ae (patch) | |
tree | 376742603bb93c2c1962d1c6b8ae40f85a604195 /demos/datepicker/event-search.html | |
parent | ddf59462af7fb986bb06c0b6d0101086b0702f5b (diff) | |
download | jquery-ui-f070b0a24b7f44b69edfdcd790fd5b72883c11ae.tar.gz jquery-ui-f070b0a24b7f44b69edfdcd790fd5b72883c11ae.zip |
Datepicker Demo: modifed the name of the event search demo to be date-range. Fixed #6675 - Date Range demo for Datepicker has unclear title.
Diffstat (limited to 'demos/datepicker/event-search.html')
-rw-r--r-- | demos/datepicker/event-search.html | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/demos/datepicker/event-search.html b/demos/datepicker/event-search.html deleted file mode 100644 index cf271064b..000000000 --- a/demos/datepicker/event-search.html +++ /dev/null @@ -1,49 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>jQuery UI Datepicker - Display multiple months</title> - <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> - <script src="../../jquery-1.4.4.js"></script> - <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> - $(function() { - var dates = $( "#from, #to" ).datepicker({ - defaultDate: "+1w", - changeMonth: true, - numberOfMonths: 3, - onSelect: function( selectedDate ) { - var option = this.id == "from" ? "minDate" : "maxDate", - instance = $( this ).data( "datepicker" ); - date = $.datepicker.parseDate( - instance.settings.dateFormat || - $.datepicker._defaults.dateFormat, - selectedDate, instance.settings ); - dates.not( this ).datepicker( "option", option, date ); - } - }); - }); - </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"> -<p>Select the date range to search for.</p> -</div><!-- End demo-description --> - -</body> -</html> |