title: How to add ID of html table using jquery
body: <p>I am trying to create an ID of html table using jQuery which should be visible when I view html page source. For example I have following code and convert from first table to another table with its ID, Thanks.</p>
  
  <pre><code>&lt;table&gt;
  
  &lt;/table&gt;
  </code></pre>
  
  <p><strong>TO</strong></p>
  
  <pre><code>&lt;table id="tablecontent"&gt;
  
  &lt;/table&gt;
  </code></pre>