title: Finding Label Before Input[required]
body: <p>My simple form fields look like so:</p>
  
  <pre><code> &lt;div class="form-group " id="requestor_last_name-input"&gt;
        &lt;label class="control-label col-sm-2" for="requestor_last_name"&gt;Last Name&lt;/label&gt;
        &lt;div class="col-sm-10"&gt;
          &lt;input type="text" class="form-control" name="requestor_last_name" id="requestor_last_name" size="50" maxlength="50" value="Flaherty" required&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>I don't understand why I cannot select the label before my input[required] like this:</p>
  
  <pre><code>$("input[required]").prev("label").css("color", "red");
  </code></pre>
  
  <p>What am i missing?</p>