title: Iterating through table using jquery gives uncaught exception
body: <p>when a user clicks on a cell in my table, i would like to iterate through my table's rows using the following:</p>
  
  <pre><code>var table = $(this).closest('table');
  
  $(table+" tr").each(function(){
          console.log($(this).text());
      });
  </code></pre>
  
  <p>However i get the following error:</p>
  
  <pre><code>  uncaught exception: Syntax error, unrecognized expression: [object Object]
  </code></pre>
  
  <p>What am i doing wrong?</p>