title: Cloning a class and appending the second value in the cloned class
body: <p>I have an ajax for retrieving names from the database, when the names are more than one, i split them then clone the first class so that i can have the other name(second) in the cloned class. It seems not to work, What am i missing?  </p>
  
  <pre><code>$.ajax({
      type: "POST",
      url: base_url + "c_transfer/viewTransfer/" + transfer_id,
      dataType: "json",
      success: function (data) {
          var all_transferors = data[0]['Transferor_Name'];
          var sole_transferors = all_transferors.split(',');
          for (transferor_counter = 0; transferor_counter &lt; sole_transferors.length; transferor_counter++) {
              if (transferor_counter &gt; 0) {
                  $('.clone').relCopy({});
                  $("#transferor_name").val(sole_transferors[transferor_counter]);
              } else {
                  $("#transferor_name").val(sole_transferors[transferor_counter]);
                  console.log(sole_transferors[transferor_counter]);
              }
              // console.log(sole_transferors[transferor_counter]);
          }
  </code></pre>