title: Toggle table row visibility based on presence of td class
body: <p>How can I toggle multiple rows in a table if the <code>&lt;td&gt;</code> class is set to an specific class. For instance toggle all rows if they contain the <code>class="foo"</code>.</p>
  
  <pre><code>&lt;table id="bar"&gt;
    &lt;tr&gt;
      &lt;td&gt;hello&lt;/td&gt;
      &lt;td class="foo"&gt;there&lt;/td&gt;
      &lt;td class="foo"&gt;bye&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>