Jquery .eq plus contains
<p>When trying to get from all [tr] the second [td] that contains some information, i keep getting stuck on logic. Here is some example.</p>

<pre><code>&lt;table class="todos"&gt;
 &lt;tbody&gt;
   &lt;tr&gt;
      &lt;td&gt;info1&lt;/td&gt;
      &lt;td&gt;info2&lt;/td&gt;
      &lt;td&gt;info3&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
</code></pre>

<p>And here is the Javascript to find it for me...</p>

<pre><code>$(".todos tbody tr").css('display','none');
$(".todos tbody tr").each(function(){
    if($(this).find("td:eq(0):contains("+procurar+")"))
        $(this).css('display','table-row');
    if($(this).find("td:eq(1):contains("+procurar+")"))
        $(this).css('display','table-row');
});
</code></pre>
