title: Validate date of birth greater than today?
body: <p>How to validate html <code>&lt;input type='date'/&gt;</code> is greater than today?</p>
  
  <p>The following is my code:</p>
  
  <pre><code>&lt;div class="form-group"&gt;
  &lt;label class="col-sm-2" for='id_dateOfBirth'&gt;Birth Date &lt;/label&gt;
  &lt;div class="col-sm-10"&gt;
      &lt;input class='form-control' name="dateOfBirth" id='id_dateOfBirth' type='date'&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>I want to check whether date is greater than today using JavaScript.</p>