title: How do I find a table of certain class with jquery selectors
body: <p>How do I select just a table with class d with jquery selectors.  For some reason this code won't work properly...</p>
  
  <pre><code>var dTableTags = $(".d table");
  </code></pre>
  
  <p>example table would be...</p>
  
  <pre><code>&lt;table id="thetable" class="d"&gt;
    &lt;thead&gt;
      &lt;tr&gt;&lt;th&gt;Column 1 header&lt;/th&gt;&lt;th&gt;Column 2 header&lt;/th&gt;&lt;/tr&gt;
    &lt;/thead&gt;
    &lt;tbody&gt;
      &lt;tr&gt;&lt;td&gt;Column 1 data&lt;/td&gt;&lt;td&gt;Column 2 data&lt;/td&gt;&lt;/tr&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>