title: Get text inside the label with jQuery
body: <p>From the following HTML, I want to get the text inside the <code>&lt;label&gt;&lt;/label&gt;</code> with jQuery but exclude the text inside the span in the label. </p>
  
  <pre><code>&lt;label for="name"&gt;Name&lt;span class="required"&gt;Required&lt;/span&gt;&lt;/label&gt;
  &lt;input type="text" class="requiredField" name="name" /&gt;
  </code></pre>
  
  <p>I am trying following:</p>
  
  <pre><code>jQuery('.requiredField').each(function() {  
      var labelText = jQuery(this).prev().text();
  }
  </code></pre>
  
  <p>It receives the text which is inside the span <code>.required</code> as well (ie. NameRequired), but I want to get only "Name". How can I exclude that? Thanks.</p>