Add new row to the last row of table $('#myTable tr:last').after('<tr>...</tr><tr>...</tr>'); Remove current row of the table $(this).closest('tr').remove();