With jQuery is simple to loop through cells or rows, but it is not simple to loop through the cells of a columns.
//for cells of rows I will do this
$('table tr').each(function(index,elem)...//loop through cell of row [index]
Any one suggest a simple method for looping through cells of a columns?
Edit: I misread the original question. This example will loop through all the cells in a table, ordered by their cells first.
Markup:
jQuery:
Result: