I want to add a remove button in my clone element for some purposes.
HTML
<div class="more">add</div>
        <div id="other_fee">
         <div>
          <input type="text" value="" name="other" placeholder="Description" />
          <input class="short3 theAmount" type="text" value="" name="other_amount" placeholder="Amount" />
          <div class="inputBlocker"></div>
         </div>
        </div>
jquery
<script type="text/javascript">
      jQuery(function($) {
        $('.more').on('click', function() {
          var $table = $('#other_fee');
          var $tr = $table.find('div').eq(0).clone();
          $tr.appendTo($table).find('input').val('');
        });
        $("#abc").each(function() {
          var form = $(this);
          form.on('keyup', '.theAmount', function() {
            var sum = 0;
            form.find('.theAmount').each(function() {
              sum += +this.value;
            });
            form.find("#other_total").val(sum);
          });
        });
      }); 
</script>
 
    