diff options
Diffstat (limited to 'demos/functional/templates/ui.datepicker.two.html')
-rw-r--r-- | demos/functional/templates/ui.datepicker.two.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/demos/functional/templates/ui.datepicker.two.html b/demos/functional/templates/ui.datepicker.two.html index 639aa0518..62e927859 100644 --- a/demos/functional/templates/ui.datepicker.two.html +++ b/demos/functional/templates/ui.datepicker.two.html @@ -1,7 +1,7 @@ -<input type="text" size="10" value="" id="startDate"/> to <input type="text" size="10" value="" id="endDate"/>
-<script type="text/javascript">
-function customRange(input) {
- return {minDate: (input.id == "endDate" ? $("#startDate").datepicker("getDate") : null),
- maxDate: (input.id == "startDate" ? $("#endDate").datepicker("getDate") : null)};
-}
+<input type="text" size="10" value="" id="startDate"/> to <input type="text" size="10" value="" id="endDate"/> +<script type="text/javascript"> +function customRange(input) { + return {minDate: (input.id == "endDate" ? $("#startDate").datepicker("getDate") : null), + maxDate: (input.id == "startDate" ? $("#endDate").datepicker("getDate") : null)}; +} </script>
\ No newline at end of file |