Re: [jQuery] Filtering table cell values

2009-12-06 Thread brian
Try this: jQuery('#Directorships tbody tr').each(function() { if (jQuery('td:nth-child(7)', $(this)).text().toLowerCase() == 'retired') { var td12th = jQuery('td:nth-child(12)', $(this));

[jQuery] Filtering table cell values

2009-12-06 Thread evanbu...@gmail.com
I'm using this code hightlight any table cell in the 12th column with a value of zero which works well. //SharesHeld jQuery('#Directorships tr').each(function() { jQuery('#Directorships td:nth-child(12)').filter(function() { if (jQuery(this).text() == 0) jQu