Click here to Skip to main content
15,880,796 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have two datepicker startdate and enddate.
i want to disable enddate if it is same as startdate.
FOR eg in first datepicker i select 23jan den in second datepicker upto 23jan and also 23jan should b disable.

What I have tried:

i have tried :
minDate:0
maxDate:currentDate
disable:currentDate
Posted
Updated 20-Dec-17 19:04pm
v2
Comments
Sinisa Hajnal 21-Dec-17 8:18am    
Just setting minDate on the enddate picker should be enough. The user cannot select the date less than minDate.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900