I\'m creating a registration page where someone can register up to 20 other people if they wanted to. So I have these text boxes:
First Name:
This can also be helpful but not always at times. I have debugged this myself and will not take much time even if you have more data.
var table = $(".tableclassName")["1"]
var tableClone = $(".tableclassName")["3"]
$(yournewrowtext).insertAfter(table.children["1"].children[currentRowId]);
$(yourfirstcolumn).insertAfter(tableClone.children["1"].
children[currentRowId]);
Note: If you are not using fixed column then you can remove this line $(yourfirstcolumn).insertAfter(tableClone.children["1"].