Add row to a table with Jquery,but don't need its value
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3576565/how-can-i-clone-a-row-in-a-table-without-cloning-the-values-of-the-input-elements">How can I clone a row in a table without cloning the values of the input elements inside it?</a>  </p>
</blockquote>



<p>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 ???</p>

<p>my code </p>

<pre><code>$("#table-1 tr:last").clone();
</code></pre>
