I'm doing a data entry in which I have two points that I do not know how to do in ajax or jquery.
<?php
$valor = 320; //valor en pesos
?>
Ingreso <input type="date" name="ingreso" autocomplete="off"><br>
Retiro <input type="date" name="retiro" autocomplete="off"><br>
<input type="text" name="totaldias" placeholder="Total de dias" disabled="disabled"><br>
$ <input type="text" name="valor" placeholder="Valor" disabled="disabled"><br>
What I want to do is that when the input enters the dates, I automatically place the number of days and once you have the number of days multiply them by the value.
I hope you help me. Thanks