jquery search each table row for a particular td
<p>Consider there's a table with rows to which a <code>td</code> with class <code>x</code> is added by jqeury on the fly (during DOM manipulation). Later when the user sumbit's this table (table being part of a form), i want to search all the rows for existence of this particular <code>td</code>. If this <code>td</code> is found then the function should return false, else true. However this piece of code does not work, any suggestions?</p>

<pre><code>function validate(){
$('form#newuser table tr').each(function(){
    if($(this).find('td.x')){
        return false;
    }
});
return true;
}
</code></pre>
