How can I toggle multiple rows in a table if the `<td>` class is set to an specific class. For instance toggle all rows if they contain the `class="foo"`.

```
<table id="bar">
  <tr>
    <td>hello</td>
    <td class="foo">there</td>
    <td class="foo">bye</td>
  </tr>
</table>

```