title: jQuery Validate errors not showing, due to nested divs?
body: <p>I'm trying to use jQuery with the Validate plugin, except I cannot get my errors to show up. Below is the code I'm using. I've read through the documentation, and can't tell if it's because .validate is configured incorrectly, or if it has to do with the fact that my errors are within several divs from the css layout. Thanks in advance for your help. </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(document).ready(function() {
      $("#order_form").validate({
          debug:true, 
          errorContainer: "#errors",
          errorLabelContainer: "#errors ul",
          wrapper:"li",
          onsubmit:true,
          rules: {
              business_name: {
              required: true
          }
  
      },
      messages: {
          business_name: {
              required: "Please enter a valid business name or select &amp;quot;Individual&amp;quot; from above"
          }
      }
  });
  
  });
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;div id="wrapper"&gt;
  &lt;div id="logo"&gt;
      &lt;img src="images/RPP7.png" /&gt;       
  &lt;/div&gt;
  &lt;div id="menu"&gt;
      &lt;ul&gt;
          &lt;li class="current_page_item"&gt;&lt;a href="index.html"&gt;Home&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="about.html"&gt;About&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="videos.html"&gt;Videos&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="services.html"&gt;Services&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="contact.html"&gt;Contact&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  &lt;div id="content"&gt;
      &lt;div class="post"&gt;
          &lt;h2 class="title"&gt;Order Now&lt;/h2&gt;
          &lt;div class="entry"&gt;
              &lt;font size="-1"&gt;Note: This page is viewed correctly with Javascript enabled.&lt;/font&gt;
              &lt;div id="errors"&gt;
  &lt;p&gt;One or more things went wrong:&lt;/p
      &lt;ul&gt;&lt;/ul&gt;
  &lt;/div&gt;
              &lt;form id="orderForm" method="get" action=""&gt;
                      &lt;label for="t_business"&gt;&lt;input type="radio" name="business" value="business" id="t_business" /&gt;Business&lt;/label&gt;
                  &lt;label for="t_individual"&gt;&lt;input type="radio" name="indiv" value="indiv" id="t_individual" /&gt;Individual&lt;/label&gt;&lt;br /&gt;
                  &lt;div id="business"&gt;
                      &lt;label for="business_name"&gt;Business Name: &lt;/label&gt;&lt;br /&gt;&lt;input type="text" name="business_name" /&gt;&lt;br /&gt;
                  &lt;/div&gt;
  
                &lt;label for="f_name"&gt;First Name: *&lt;/label&gt;&lt;br /&gt;&lt;input type="text" id="f_name" /&gt;&lt;br /&gt;
                  &lt;label for="l_name"&gt;Last Name: *&lt;/label&gt;&lt;br /&gt;&lt;input type="text" id="l_name"  /&gt;&lt;br /&gt;&lt;br /&gt;
                  &lt;label&gt;Preferred Method of Contact: *&lt;/label&gt;
                  &lt;label for="p_phone"&gt;&lt;input type="radio" name="contact" id="p_phone" /&gt;Phone&lt;/label&gt;
                  &lt;label for="p_email"&gt;&lt;input type="radio" name="contact" id="p_email" /&gt;E-Mail&lt;/label&gt;&lt;br /&gt;
                  &lt;div id="contact_phone"&gt;
                      &lt;label for="phone_nr"&gt;Phone Number: &lt;/label&gt;&lt;br /&gt;&lt;input type="text" name="phone_nr" /&gt;&lt;br /&gt;
                  &lt;/div&gt;
                  &lt;div id="contact_email"&gt;
                      &lt;label for="email_add"&gt;E-mail Address: &lt;/label&gt;&lt;br /&gt;&lt;input type="text" name="email_add" /&gt;&lt;br /&gt;
                  &lt;/div&gt;
                  &lt;br /&gt;
                  &lt;label&gt;Project Type: &lt;/label&gt;&lt;br /&gt;
                      &lt;label for="v_school"&gt;&lt;input type="radio" name="project" id="v_school" /&gt;School Project&lt;/label&gt;&lt;br /&gt;
                      &lt;label for="v_business"&gt;&lt;input type="radio" name="project" id="v_business" /&gt;Business Video&lt;/label&gt;&lt;br /&gt;
                      &lt;label for="v_personal"&gt;&lt;input type="radio" name="project" id="v_personal" /&gt;Personal Video&lt;/label&gt;&lt;br /&gt;
                      &lt;label for="v_collection"&gt;&lt;input type="radio" name="project" id="v_collection" /&gt;Photo Collection&lt;/label&gt;&lt;br /&gt;
                      &lt;label for="v_other"&gt;&lt;input type="radio" name="project" id="v_other" /&gt;Other...&lt;/label&gt;&lt;br /&gt;
                &lt;div id="v_other_info"&gt;
                      &lt;label&gt;Please Specify: &lt;/label&gt;&lt;br /&gt;
                      &lt;input type="text" name="v_other_info" /&gt;
                &lt;/div&gt;
                  &lt;label&gt;Additional Information: &lt;/label&gt;&lt;br /&gt;
                  &lt;textarea rows="5" cols="30" name="add_info"&gt;&lt;/textarea&gt;&lt;br /&gt;
                  &lt;input class="submit" type="submit" value="Submit" /&gt;
              &lt;/form&gt;  
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>