6
I have a input
date type, I would like to add to it 7 days and put this value in another input
also date type, 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 format year-month-day.