Set min Date from another date

by Matias Seguel

HTML

Inicio <input type="date" id="start_date">
<br>
Fin <input type="date" id="end_date">

JavaScript

$('#start_date').change(function(){
  var start_date = $(this).val();
  $('#end_date').prop({
    min: start_date
  })
});
/*  prop() method works since jquery 1.6, if you are using a previus version, you can use attr() method.