<table id="tab">
<tr aaa="one" bbb="ooo"><td>xxx</td><</tr>
<tr aaa="two" bbb="one"><td>xxx</td><</tr>
<tr aaa="three" bbb="one"><td>xxx</td><</tr>
<tr aaa="four" bbb="three"><td>xxx</td><</tr>
</table>
i am looking to achieve the following functionality using jQuery:
When I hover over a TR with attribute aaa="one", I want the background-color of all TR elements with attribute bbb="one" to turn red.
I would like to implement this using jQuery.
You can see a live example here.
Thank you for your assistance!