Hi,
I am using the jquery datePicker like this:
- <script type="text/javascript">
- $(function ()
- {
- $("#dateClosingDate").datepicker({ dateFormat: "dd-mm-yy",
- changeYear: true,
- showOn: "button",
- buttonImage: "http://www.mywebsite.com/images/calendar.gif",
- buttonImageOnly: false })
- });
- </script>
- <input type="text" id="dateClosingDate" name="dateClosingDate" value="<?php echo $member_date_of_birth; ?>" autocomplete="off" readonly required>
I want to set the maximum date for this datePicker to be Today's date + 90 days and the minimum is today's date and then set the default value = maximum date.
How can I do this please?