title: Jquery bassistance: validate that end date is after start date
body: <p>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)</p>
  
  <pre><code>$("#hotels").validate({
      rules: {
          checkinDate: {
              date: true
          },
          checkoutDate: {
              date: true
          }
      }
  });
  
  
  $("#hotels input.submit").click(function() {
    var isValid = $("#hotels").valid();
    if (isValid == true) {
        } else {
            hComp();
            return false;
        }
    } else {
        return false;
    }
  });
  </code></pre>
  
  <p>I saw this in another example, but am not sure how I could use it.</p>
  
  <pre><code>var startDate = new Date($('#startDate').val());
  var endDate = new Date($('#endDate').val());
  
  if (startDate &lt; endDate){
  // Do something
  }
  </code></pre>
  
  <p>Thanks in advance for any assistance.</p>