How Can I get Text Inside an Element with Children using jQuery
<p>I have text stored in a variable which contains several span tags.<br />
I want to get all the contents inside every span at once.
How can I do that with jQuery or javascript?</p>

<pre><code>&lt;htmlText&gt;
    Researchthe university has been given a 5 star rating in the current Research Assessment Exercise. It is one of the UK's leading technological universities, specialising in research to provide solutions critical to industry, commerce and the healthcare, voluntary and public sectors.
    &lt;span class="NBResult"&gt;&lt;/span&gt;&lt;span class="NBResult"&gt;Data transmission speed&lt;/span&gt;
    &lt;span&gt;, green fuels,small business marketing needs, European bureaucracy and the treatment &lt;/span&gt;
    &lt;span class="NBSearchTerm"&gt;of&lt;/span&gt;
    &lt;span&gt; &lt;/span&gt;&lt;span class="NBSearchTerm"&gt;cancer&lt;/span&gt;
    &lt;span&gt; are all under investigation at the university. &lt;/span&gt;
&lt;/htmlText&gt;
</code></pre>
