title: Removing text from inside a <div>
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1571076/remove-text-with-jquery">Remove text with jQuery</a>  </p>
  </blockquote>
  
  
  
  <p>I want to remove the text from a <code>div</code>, but that <code>div</code> contains other nodes.</p>
  
  <p>If i use <code>$("#hwiTestimonial").text("");</code> it erases the <code>&lt;br/&gt;</code> and the <code>&lt;div&gt;</code> as well. How can I only specify to remove the text, without any nodes?</p>
  
  <pre><code>&lt;div id="hwiTestimonial"&gt;
      " Bla bla" 
      &lt;br/&gt;
      &lt;div&gt;....&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>