append row after first row in a html table December 15, 2023 by Tarik Try this: $("#mainTable tr:first").after(row); .after()