This is my code:
<input type="date" name="startDate" id="startDate" />
<input type="date" name="endDate" id="endDate" />
I want startdate
to not exceed endDate
. is there a way to compare dates without using jQuery? Like in ASP.NET, we can use CompareValidator.