title: jquery firstChild.data equivalent
body: <p>Is there an equivalient of the firstChild.data in JQuery?</p>
  
  <p>Given the following HTML :</p>
  
  <pre><code>&lt;p id='test'&gt;Hello&lt;span&gt;world&lt;/span&gt;/&lt;p&gt;
  </code></pre>
  
  <p>the below javascipt will return : "Hello"</p>
  
  <pre><code>document.getElementById('test').firstChild.data
  </code></pre>
  
  <p>the given JQuery will return : <code>Hello&lt; span&gt;world&lt;/span&gt;</code></p>
  
  <pre><code>$('#test').text()
  </code></pre>
  
  <p>how can I achieve this?</p>