I have a table, each tr element has a custom data attribute and I want to apply style to certain values.

In HTML:

```
<table id="notify" class="t_notify">
<tr data-notify="101">
 <td>data</td>
 <td>data</td>
</tr>
<tr data-notify="102">
 <td>data</td>
 <td>data</td>
</tr>
<!-- and goes -->
</table>

```

With CSS:

```
.t_notify>tbody>tr{background:#BBB;}
.t_notify>tbody>tr:hover{background:transparent;}

```

I tried in Jquery to make this when I click in a certain tr element, for example:

```
$("#notify > tbody > tr").attr("[data-notify='101']").css({"background":"#CCC"});

```

But this doesn't work. I would like some help.