ocean O
asked on
disable partially dates in date popup
Hi,
I have a question about js date object in jquery.
On the screen, there is a min /max date. For the min date, when user clicks the date, only the dates after the min date (like 05/30/2020) are available. All the previous date will be crossed out on the date popup window. How can I do it?
Thanks for any inputs
I have a question about js date object in jquery.
On the screen, there is a min /max date. For the min date, when user clicks the date, only the dates after the min date (like 05/30/2020) are available. All the previous date will be crossed out on the date popup window. How can I do it?
Thanks for any inputs
what date plugin are you using?
ASKER
Any date plugin can be fine
with this one : https://api.jqueryui.com/datepicker/
check this options :
https://api.jqueryui.com/datepicker/#option-minDate
https://api.jqueryui.com/datepicker/#option-maxDate
check this options :
https://api.jqueryui.com/datepicker/#option-minDate
https://api.jqueryui.com/datepicker/#option-maxDate
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.