title: Problem With errorPlacement in jQuery Validator
body: <p>I have a question about the errorPlacement Method in jQuery Validator Plug-in:
  I want to put an Error Message in a div.</p>
  
  <p>Before i continue... Yeah, the code is horrible, i'm working in a project that isn't mine, without documentation or anything that i help me. But i cannot write from zero all the webpage.</p>
  
  <p>Ok, let's continue, this is a little section of the HTML code:</p>
  
  <pre><code>&lt;tr&gt;
    &lt;th height="24" scope="col"&gt;
      &lt;div align="left" class="Style69 Style72 Style75"&gt;
        &lt;span class="Style77"&gt;Name&lt;/span&gt;
      &lt;/div&gt;
    &lt;/th&gt;
    &lt;th height="24" colspan="3" scope="col"&gt;
      &lt;div align="left"&gt;
        &lt;span class="Style69 Style72 Style75"&gt;
          &lt;input id="txtname" name="txtname" class="required"
          type="text" size="30" /&gt;
        &lt;/span&gt;
      &lt;/div&gt;
    &lt;/th&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td height="17" colspan="4"&gt;
      &lt;div id="errorMessage"&gt;&lt;/div&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>The Layout is a table, and, inside of this table are placed all the elements (inputboxes and select's).</p>
  
  <p>My question is, how can i place the error message in the div "errorMessage"?</p>
  
  <p>I'm doing something like this:</p>
  
  <pre><code>errorPlacement: function(error, element) {
     error.appendTo(element.prev().next().next());
   }
  </code></pre>
  
  <p>But it doesn't work. Then, I've Tried This:</p>
  
  <pre><code>errorPlacement: function(error, element) {
     error.appendTo(element.prev().next().next().find("#errorMessage"));
   }
  </code></pre>
  
  <p>And nothing happens.
  The "Div" and "Span" tags are part of the DOM?</p>
  
  <p>Any Suggestion?</p>