Jquery two different date validation
1 answer
I don't know what your datepicker is, but if it is a JQuery-datepicker then it is better to get the date from .datepicker("getDate")
. Then you should have JS Date objects that can be compared to regular numbers (see http://www.w3schools.com/js/js_obj_date.asp )
+1
a source to share