SyntaxFix
Write A Post
Hire A Developer
Questions
The code below will clone last row and add after last row in table:
var $tableBody = $('#tbl').find("tbody"), $trLast = $tableBody.find("tr:last"), $trNew = $trLast.clone(); $trLast.after($trNew);
Working example : http://jsfiddle.net/kQpfE/2/