Getting text within element excluding decendants
<p>I see that jQuery has the <code>.text()</code> function for getting all text within an element and its descendant elements.</p>

<p>Is there a way to only get the text that is directly within the element?</p>

<p>eg.</p>

<pre><code>&lt;div&gt;
Here is &lt;b&gt;some&lt;/b&gt; text.
&lt;/div&gt;
</code></pre>

<p>From that I would want to get just <code>Here is  text.</code></p>
