I want to check whether end date is greater than or equal to start date, with jquery validate. It is validating end date greater than start date, but it is not permitting en
You should use is greater than or equal to(>=) in your custom method greaterThan.
is greater than or equal to
>=
greaterThan
Change this line:
return new Date(value) > new Date($(params).val());
To:
return new Date(value) >= new Date($(params).val());
Enjoy...