Possible Duplicate:
How can I clone a row in a table without cloning the values of the input elements inside it?
i am trying to add a row to a table.i found that we can use clone . my table has two text boxes in it in two different tr's .cloning the last row is also duplicating the values in my textbox's which i don't want ?Any ideas ???
my code
$("#table-1 tr:last").clone();