How to invert the rows and columns of an HTML table?
<p>I want to rearrange the HTML table.i.e Rows as Columns,Columns as Rows.  </p>

<p>In what way i can do it.  </p>

<p>Example :  </p>

<pre><code>1 4 7  
2 5 8  
3 6 9
</code></pre>

<p>as</p>

<pre><code>1 2 3  
4 5 6  
7 8 9  
</code></pre>
