I have a table with an Add button on the end. When you click this button I want a new table row to be created underneath the current one. I also want the input fields on thi
Try this variation:
$(".tr_clone_add").live('click', CloneRow); function CloneRow() { $(this).closest('.tr_clone').clone().insertAfter(".tr_clone:last"); }