I am getting the results of text input in spans, but in the input where I have the calendar with datetimepicker, it does not send the value. The script works well with text inputs, but with the one with datetimepicker it does not.
Search a lot but I could not find the solution, which can be?
<input type="text" name="vtoDias2" id="fecha3" placeholder="Ingrese Fecha">
<span id="numFecha3"></span>
<script>
$("input[name=vtoDias2]").on('keyup', function () {
$('#numFecha3').html($(this).val());
});
</script>