title: How can I change an element's text without changing its child elements?
body: <p>I'd like to update element's text dynamically:</p>
  <pre class="lang-html prettyprint-override"><code>&lt;div&gt;
     **text to change**
     &lt;someChild&gt;
         text that should not change
     &lt;/someChild&gt;
     &lt;someChild&gt;
         text that should not change
     &lt;/someChild&gt;
  &lt;/div&gt;
  </code></pre>
  <p>I'm new to jQuery, so this task seems to be quite challenging for me.
  Could someone point me to a function/selector to use?</p>
  <p>If it is possible, I'd like to do it without adding a new container for the text I need to change.</p>