get text in div
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/11362085/jquery-get-text-for-element-without-children-text">jquery - get text for element without children text</a>  </p>
</blockquote>



<p>I've a div with text inside and span after text like this:</p>

<pre><code>&lt;div&gt;
text
&lt;span&gt;other text&lt;/span&gt;
&lt;/div&gt;
</code></pre>

<p>and I'd like to get only text in div not in span</p>

<p>Thanks</p>
