Datepicker Range
-
I’m trying to restrict the ability to choose certain dates with the datepicker add-on. I’m assuming this is easy, but I can’t seem to find a way to manipulate the edit screen. It should be a minDate and maxDate value as detailed here
https://jqueryui.com/datepicker/#min-max
<script> $(function() { $( "#datepicker" ).datepicker({ minDate: -20, maxDate: "+1M +10D" }); }); </script>
I’ve searched through the plugins ‘datepicker’ core files and can’t seem to find where exactly to add the code in.
If anyone can help me or show me how to implement taht would be greatly appreciated.
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Datepicker Range’ is closed to new replies.