Jquery bassistance: validate that end date is after start date
问题 I am using jquery bassistance validation and need to verify that a start date is after an end date. I am wondering if anyone knows if this functionality exists and if I can add rules to do this or if I have to add a custom check. I am having difficulty finding any examples of this that work with my code which forwards to another function if the form is valid. (pasted below) $("#hotels").validate({ rules: { checkinDate: { date: true }, checkoutDate: { date: true } } }); $("#hotels input.submit