How to get the first column of all tables using jQuery?

How to get all the first columns of all tables using jQuery?

The code below does not work in IE 6.0, as first-child is not supported there, apparently:

$('table.tblItemTemplate td:first-child'); 

thanks

+4
source share
1 answer

Edit, below is the best solution:

 $('table.tblItemTemplate td:first-child').addClass('first'); 
+5
source

All Articles