Grab the Nth column in a table using Jquery along with colspan
<p>I have a dynamic table, and it may contain colspan in the column, So if i want to load the nth column in the row i want to consider colspan also on the selection.</p>

<p>For Example : </p>

<pre><code>  &lt;table&gt;
    &lt;tr class="trow"&gt;
        &lt;td&gt;Column1&lt;/td&gt;
        &lt;td&gt;Column2&lt;/td&gt; &lt;!-- included --&gt;
        &lt;td&gt;Column3&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr class="trow"&gt;
        &lt;td&gt;Cell-1-1&lt;/td&gt;
        &lt;td&gt;Cell-1-2&lt;/td&gt; &lt;!-- included --&gt;
        &lt;td&gt;Cell-1-3&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr class="trow"&gt;
        &lt;td colspan="2"&gt;Cell-2-1&lt;/td&gt;
        &lt;td&gt;Cell-2-3&lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>In this case if i give any column index it should give the list as below. </p>

<p><strong>Column 1 : (index 1)</strong></p>

<p>Cell-1-1 and Cell-2-1</p>

<p><strong>Column 2 : (index 2)</strong></p>

<p>Cell-1-2 and Cell-2-1</p>

<p><strong>Column 3 : (index 3)</strong></p>

<p>Cell-1-3 and Cell-2-3</p>

<p>how to achieve this using jquery. </p>
