.contents of p element. Only goes one level down....need all contents. jquery
<p>Have a problem. Taking this html: </p>

<pre><code> &lt;p&gt;&lt;span&gt;js fiddle is a playground for
 web developers, a tool which may be
 used in many ways. One can use it as
 an online editor for snippets build
 from HTML, CSS and JavaScript. The
 code can then be shared with others,
 embedded on a blog, etc. Using this
 approach, JavaScript developers can
 very easily isolate bugs. We aim to
 support all actively developed
 frameworks - it helps with testing
 compatibility.&lt;/span&gt;&lt;/p&gt;
</code></pre>

<p>I run this code:</p>

<pre><code>var textNodes = $('p').contents().filter(function() {
    return this.nodeType == 3 &amp;&amp; this.nodeValue.length &gt; 150;
}).parent().parent();

$(textNodes).css('border', '2px solid black');
</code></pre>

<p>the problem I have is that <code>contents()</code> only goes one level down...what I want is to test if a <code>p</code> element has greater than 150 <code>nodeType == 3</code> characters. If I do <code>contents().contents()....</code> this works </p>
