Answers for "jquery duplicate last table row"

0

jquery duplicate last table row

var $tableBody = $('#tbl').find("tbody"),
    $trLast = $tableBody.find("tr:last"),
    $trNew = $trLast.clone();

$trLast.after($trNew);
Posted by: Guest on October-30-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language