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