title: Jquery clone row and its all elements with different id
body: <p>HTML Table whose 2nd row which I want to clone is<br/></p>
  
  <pre><code>&lt;table id="tblDoc" class="doc-Table"&gt;
  &lt;tr&gt;
      &lt;td&gt;
          &lt;label&gt;Document Description&lt;/label&gt;&lt;/td&gt;
      &lt;td&gt;
          &lt;label&gt;Custom&lt;/label&gt;&lt;/td&gt;
      &lt;td&gt;
          &lt;label&gt;File Type&lt;/label&gt;&lt;/td&gt;
      &lt;td&gt;
          &lt;label&gt;Ref&lt;/label&gt;&lt;/td&gt;
      &lt;td&gt;
          &lt;label&gt;Document&lt;/label&gt;&lt;/td&gt;
      &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr id="uploadrow_0"&gt;
      &lt;td&gt;
          &lt;asp:DropDownList ID="ddlDocumentDescription_0" runat="server"&gt;&lt;/asp:DropDownList&gt;
      &lt;/td&gt;
      &lt;td&gt;
          &lt;input id="txtCustomFileName_0" type="text" class="upload-TextBoxes" /&gt;&lt;/td&gt;
      &lt;td&gt;
          &lt;select id="ddlFileType_0" class="upload-Dropdowns"&gt;
              &lt;option value="0"&gt;--Select--&lt;/option&gt;
              &lt;option value="1"&gt;A&lt;/option&gt;
              &lt;option value="2"&gt;B&lt;/option&gt;
          &lt;/select&gt;&lt;/td&gt;
      &lt;td&gt;
          &lt;input id="txtReferenceNo_0" type="text" class="upload-TextBoxes" /&gt;&lt;/td&gt;
      &lt;td&gt;
          &lt;input id="fileDocument_0" class="file-upload" type="file" /&gt;&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p></p>
  
  
      + Add Another
  
  
  <p>I want to make a copy of second row each time on add another button.So I  have used  <br/></p>
  
  <pre><code>$(document).ready(function () {
      $("#addAnother").click(function () {
          addAnotherRow();
      });
  });
  
  function addAnotherRow() {
      var row = $("#tblDoc tr:nth-child(2)").clone();
      $('#tblDoc').append(row);
  }
  </code></pre>
  
  <p>When I clone it give same id for second row.<br/><br/>
  I want second row with id:<br/>
  1 - uploadrow_1<br/>
  2 - ddlDocumentDescription_1 (Its a asp.net control so id will not look like this)<br/>
  3 - txtCustomFileName_1<br/>
  4 - ddlFileType_1<br/>
  5 - txtReferenceNo_1<br/>
  6 - fileDocument_1<br/>
  and so on.<br/><br/>
  Thanks in advance for any help.</p>