0
<html>
   <head>
   </head>
   <body>
   <input type="text" id="dias">
   <input type="date" id="ativacao">
   <input type="date" id="vencimento">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
    <script>
         $('#ativacao')[0].valueAsDate = new Date();
$('#ativacao').change(function() {
  var date = this.valueAsDate;
  date.setDate(date.getDate() + $("#dias").val();
  $('#vencimento')[0].valueAsDate = date;
});
$('#ativacao').change();
    </script>
   </body>
   </html>``
I have this script here, there on the 14th would be the days, would have to put something there to pull the value of an input (both days?) I put corforme said below, but it ta returning random dates I’m new to jquery
You can set 14 to a variable or access the value in jQuery with $("#inputId"). val(); View documentation
– Paulo Victor