I know how to append or prepend a new row into a table using jquery:
$('#my_table > tbody:last').append(html);
How to I insert the row (given in the html variable) into a specific "row index"
. So if
, for instance, the row will be inserted as the 4th row in the table.