anchor.diff:        var inputs = getRowInputs($row);
         var selects = getRowSelects($row);
         inputs.val('');
  +      // trigger autosize JQuery plugin to adapt to new content
  +      inputs.trigger('autosize.resize');
         selects.prop('selectedIndex', 0);
       }
   
  
positive.code:       var next_selects = getRowSelects(next_tr);
  
        current_inputs.each(function(i) {
          next_inputs.eq(i).val($(this).val());
        });
        current_selects.each(function(i) {
          // var current_option = $(this).find('option:selected').index();
  
negative.code: <script>
    $( document ).ready(function() {
      function getRowInputs($row) {
        return $row.find('input:not([type=hidden]), textarea').not('.hidden');
      }
  
      function getRowSelects($row) {
  