jQuery select just the text in a div
<p>Is there a succint way of getting just the text in a div, that also has child elements in it, using jQuery?</p>

<p>For example - how would I extract "Some text" from the html below:</p>

<pre><code>&lt;div id="mydiv"&gt;
   &lt;img src="...
   Some text
&lt;/div&gt;
</code></pre>
