jQuery Find Element Using Property
<p>I am using jquery to locate some elements from a table. The problem is that I might not know all the time the type of the element. That means an element can be a simple TD or a SELECT. But since both have text associated with it I want to retrieve the element if that has the text property. </p>

<pre><code>$($(rows[i]).find("element that has property text")[0]).text();
</code></pre>

<p>UPDATE 1: I updated the code and the td text node has a value but the currentRow.triggerType is returned empty.</p>

<pre><code>currentRow.triggerType = $($(rows[i]).find('td')[0]).filter(function() {
            return this.nodeType == 3; 
        }).text();
</code></pre>
