I have var row=<tr><td>val</td><td>val2</td></tr>.
and i tried this:
$("#mainTable tbody").append(row);
but he appends to the end of the table.
I also tried $("#mainTable tr:first").after().append(row);
but have not got a result yet.
Please, help me to understand