Im trying to figure out how i could go about highlighting table cells
that are grouped vertically when you hover over the THEAD element or the
TFOOT element.
Im not sure how i should grab them via jQuery though.
Say we have a table like
<table>
<thead>
<tr>
<th>People</th> <--// Hove over this //->
<th>Ages</th>
<th>Email</th>
</tr>
</thead>
<tbody>
<tr>
<td>John</td> <--// Highlight this //->
<td>68</td>
<td>none</td>
</tr>
<tr>
<td>Joe</td> <--// Highlight this //->
<td>99</td>
<td>none</td>
</tr>
<tr>
<td>Mary</td> <--// Highlight this //->
<td>72</td>
<td>none</td>
</tr>
</tbody>
</table>
Any ideas? it would need to select all the TD directly below it, or
above it if we was highlighting a TFOOT element
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/