Some help with javascript create HTML table other way round
<p>Here is what I have written:</p>

<pre><code>var data = [["Jan","Feb","Mar"],["5","10","15"]];
var strTable = '&lt;table&gt;';
for (var i = 0; i &lt; data.length; i++) {
    strTable += '&lt;tr' + ((i % 2) ? ' class="odd"' : '') + '&gt;';
    for (var j = 0; j &lt; data[i].length; j++) {
        strTable += '&lt;td&gt;' + data[i][j] + '&lt;/td&gt;';
    }
    strTable += '&lt;/tr&gt;';
}
strTable += '&lt;/table&gt;';
</code></pre>

<p>Which produces a table like so:</p>

<pre><code>Jan | Feb | Mar
5   | 10  | 15
</code></pre>

<p>However I need to change this so that it produces:</p>

<pre><code>Jan | 5
Feb | 10
Mar | 15
</code></pre>

<p>I am having a hard time trying to change the javascript around. Can anyone help?</p>
