Hi, I am new to javascript, but I am working on a dynamic input that is multiplied but how could I make the first dynamic input data be copied to the other inputs ... Thank you very much
Here is a part of my code
$(document).ready(function() {
var i = 0;
$(".origenDato").keyup(function() {
$(this).parent().parent().find('.destinoDato').val($(this).val());
});
$('#CantidadTeo-' + i).change(function() {
upd_art(i)
});
$('#CantidadFab-' + i).change(function() {
upd_art(i)
});
$('#add').click(function() {
i++;
});
});