Using jquery, I'd like to get all elements in a specified columns of an html table. Please note that it can be more than one column
For example, if I have the following html table:
<table>
<tr>
<td>
a
</td>
<td>
b
</td>
<td>
c
</td>
</tr>
<tr>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
</tr>
</table>
which looks as following:
1 2 3
a b c
I would like to get 1, 3, a , c
How should I do it? What would be the most efficient way to do so? (I am traversing a huge table generated by some reporting utility)