title: jQuery conditional selector for table rows
body: <p>I have a table with data in:</p>
  
  <p><code>&lt;td&gt; item &lt;/td&gt;&lt;td&gt; order code &lt;/td&gt;&lt;td&gt; price &lt;/td&gt;</code></p>
  
  <p>I'm processing the table with jQuery which needs to find the order code:</p>
  
  <pre><code>$.each($('.productList tbody tr'), function() {
      var orderCode = $(this).find('td:eq(1)').html().trim();
      // do stuff
  });
  </code></pre>
  
  <p>If there are no products, the table shows a message:</p>
  
  <p><code>&lt;td colspan="3"&gt; There are no products to display &lt;/td&gt;</code></p>
  
  <p>The above row causes the jQuery function to bomb out. What's the most robust way to use a conditional selector to ignore the "no products" row? Is there a selector for <code>colspan="1"</code> or <code>colspan is not set</code> or whatever it would need to be?</p>