get the text of only the selected element not its descendants in jquery
<p>I have this code : </p>

<pre><code>$('p:not(:has(iframe))').filter(function(){
    return $(this).text().length &gt; 150;})
    .slice(0,1).parent();
</code></pre>

<p>According to the docs, .text gets the text of the descendants also, and I was wondering how I could select only the text of ONLY the selected element, not its descendants.</p>
