title: Remove all specific classes inside a table
body: <p>Hello I need to remove all the <code>entry-selected</code> class avaialable in my table rows. This is my html structure:</p>
  
  <pre><code>&lt;table border='1' id='resource-container' style="margin-top: 10px; height: 396px; width: 100%;"&gt;
                  &lt;tr id="res-1" class='entry entry-selected'&gt;&lt;td style="background-color:#FFCCC2" class="resource-color"&gt;&amp;nbsp;&amp;nbsp;&lt;/td&gt;&lt;td style="padding-left: 10px"&gt;&lt;div&gt;&lt;strong&gt;foo&lt;/strong&gt;&lt;br&gt;test&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
                  &lt;tr id="res-1" class='entry'&gt;&lt;td style="background-color:#F41FF2" class="resource-color"&gt;&amp;nbsp;&amp;nbsp;&lt;/td&gt;&lt;td style="padding-left: 10px"&gt;&lt;div&gt;&lt;strong&gt;foo&lt;/strong&gt;&lt;br&gt;test&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
                  &lt;tr id="res-1" class='entry'&gt;&lt;td style="background-color:#F4CCC2" class="resource-color"&gt;&amp;nbsp;&amp;nbsp;&lt;/td&gt;&lt;td style="padding-left: 10px"&gt;&lt;div&gt;&lt;strong&gt;foo&lt;/strong&gt;&lt;br&gt;test&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
                  &lt;/table&gt;
  </code></pre>
  
  <p>Actually I tried this:</p>
  
  <pre><code> $('#resource-container').removeClass('.entry-selected')
  </code></pre>
  
  <p>but this doesn't remove the class for each element that have this. How can I fix this?</p>