title: "unrecognized expression: [object Object]" when using $(..)
body: <p>I have the following code: </p>
  
  <pre><code> $(".budget-channel-table").each(function() {
  
          //get table
          var table = $(this);
  
          //create an array to hold the auto calculated widths of each element
          var thWidthsArr = [];
          var calcWidth = 0;
          $(table + " th").each(function() {
              calcWidth = $(this).css("width");
              thWidthsArr.push(calcWidth);
          });
   });
  </code></pre>
  
  <p>And I don't understand why I keep getting this error in my console:</p>
  
  <pre><code>Uncaught Error: Syntax error, unrecognized expression: [object Object] th 
  </code></pre>