I have table in this format:
<tr>
<td><span></span></td>
<td><span></span></td>
<td><span></span></td>
</tr>
<tr>
<td><span></span></td>
<td><span></span></td>
<td><span></span></td>
</tr>
when click on some SPAN i would like that all the spans inside the specific TR will get grey color.
how can I do that?
element.parent("tr").children("span").attr('style', 'color: #838282 !important');
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments