Changeset 4406 for trunk/ui/current/datepicker/index.html
- Timestamp:
- 01/10/08 22:52:25 (7 months ago)
- Files:
-
- 1 modified
-
trunk/ui/current/datepicker/index.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ui/current/datepicker/index.html
r4389 r4406 192 192 $('#restrictDates').datepicker({minDate: new Date(2005, 1 - 1, 26), 193 193 maxDate: new Date(2007, 1 - 1, 26)}); 194 </script> 195 <p>Or set a range relative to today by specifying a number 196 rather than an exact date, in this case in the coming year.</p> 197 <p><span class="demoLabel">Limited dates (relative):</span> 198 <input type="text" size="10" id="relativeDates"/></p> 199 <script type="text/jsdemo" charset="utf-8" class="demojs"> 200 $('#relativeDates').datepicker({minDate: 0, maxDate: 365}); 194 201 </script> 195 202 <p>Note that the range of selectable months and years changes appropriately. Also,