Is there an equivalent of jQuery().text() that doesn't include all descendants?
<p>For example, given the following HTML:</p>

<pre><code>&lt;a id="test" href="#"&gt;Text of A &lt;span&gt;(span text)&lt;/span&gt;&lt;/a&gt;
</code></pre>

<p>Then <code>jQuery('#test').text()</code> will return <code>'Text of A (span text)'</code>, is there a way to get just <code>'Text of A '</code> (the text inside the <code>&lt;a&gt;</code> tag and not in it's descendant <code>&lt;span&gt;</code> tag)?</p>
