title: Breaking HTML table into two different table
body: <p>I am trying to print a table with large number of columns. I came with a solution to break the columns into different table with page break. I wanted to use JQuery for doing that. Here is the HTML, I am new to JQuery, please help me in solving this issue.</p>
  
  <h1>Original HTML structure</h1>
  
  <pre><code>&lt;table&gt;
  &lt;tr&gt;
      &lt;th&gt;Name&lt;/th&gt;
      &lt;th&gt;Age&lt;/th&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
      &lt;td&gt;Ami&lt;/td&gt;
      &lt;td&gt;35&lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
      &lt;td&gt;jai&lt;/td&gt;
      &lt;td&gt;34&lt;/td&gt;
   &lt;/tr&gt;
  </code></pre>
  
  <p></p>
  
  <h1>Expected HTML OUTput</h1>
  
  <pre><code>&lt;html&gt;
   &lt;table&gt;
      &lt;tr&gt;
          &lt;th&gt;Name&lt;/th&gt;
          &lt;th&gt;Age&lt;/th&gt;
       &lt;/tr&gt;
       &lt;tr&gt;
          &lt;td&gt;Ami&lt;/td&gt;
          &lt;td&gt;35&lt;/td&gt;
       &lt;/tr&gt;
  
   &lt;/table&gt;
  
   &lt;table&gt;
      &lt;tr&gt;
          &lt;th&gt;Name&lt;/th&gt;
          &lt;th&gt;Age&lt;/th&gt;
       &lt;/tr&gt;
       &lt;tr&gt;
          &lt;td&gt;Ami&lt;/td&gt;
          &lt;td&gt;35&lt;/td&gt;
       &lt;/tr&gt;
  
   &lt;/table&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Is it possible to achieve the expected HTML structure in JQuery.</p>