How to get text around an element?
<p>If I have</p>

<pre><code>&lt;div id='wrapper'&gt;
  &lt;fieldset id='fldset'&gt;
    &lt;legend&gt;Title&lt;/legend&gt;
    Body text.
  &lt;/fieldset&gt;
&lt;/div&gt;
</code></pre>

<p>How could I retrieve the "Body text" without retrieving the text inside of legend tag?</p>

<p>For instance, if I wanted to see if the text inside the fieldset contains the word "body" and change that word, while ignoring whatever might be in the legend? innerHTML retrieves all text from all children nodes.</p>

<p>Use of jQuery wouldn't be a problem.</p>
