I have a input
of type date, I would like to add to it 7 days and put that value in another input
also of type date, I tried to do so:
<script>
$('#txtSolicitacao').on('blur', function(){
data = $('#txtSolicitacao').val() + 7 ;
$('#txtTermino').val(data);
});
</script>
Note: the date is in the American year-month-day format.