HTML:
<table>
<tr>
<th>text</th>
</tr>
<tr>
<td>text</td>
</tr>
</table>
I want to do this: if found 'th' in 'first tr', addclass 'abc' to 'second tr'. Is this jQuery correct:
$('table tr:eq(0)').find('th').next('tr').addClass("abc");