I want to change the text inside of an element for dynamically created elements. i = 2 because that's Why is it not working?
var loanName = function() {
 for(var t=1; t < i; t++) {
  $('body').on('keyup', '.loanNameV'+t, function () {
   var loanN = $('.loanNameV'+t).val();
   $('.nameLoan'+t).text(loanN);
  });
 }
}; 
    