I am attempting to return columns of text where a column contains certain text.
For example: the text i'm looking for is "02/06/2010".
<table>
<tr>
<td>Item Title1</td>
<td>Item Category</td>
<td>02/06/2010</td>
</tr>
<tr>
<td>Item Title2</td>
<td>Item Category</td>
<td>02/06/2010</td>
</tr>
<tr>
<td>Item Title3</td>
<td>Item Category</td>
<td>10/07/2010</td>
</tr>
</table>
For every row that contains the text I would like to be able to loop through and use information from the row columns.
I have managed to achieve this (see below) but am unable to access other columns. It is also not efficent and takes 10 seconds or so on a table with 2000 rows.
$('table tr td:nth-child(2) :contains("02/06/2010")');