title: Asp.Net MVC - JQuery remote validation
body: <p>I got the following JQuery validation script :</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(document).ready(function() {
      $("#myForm").validate({
          rules: {
              "Content": {
                  required: true,
                  rangelength: [20, 1000],
                  remote: {
                      url: "/RemoteValidation/IsValidContent",
                      timeout: 2000,
                      type: "post"
                  }
              }
          },
          messages: {
              "Content": {
                  required: "* ...A",
                  rangelength: "* ...B",
                  remote: "* ...C"
              }
          }
      });
  });
  </code></pre>
  
  <p></p>
  
  <p>And the following controller :</p>
  
  <pre><code>public class RemoteValidationController : Controller
      {
          [HttpPost]
          public virtual JsonResult IsValidContent(MyObject object)
          {    
              return new JsonResult
              {
                  Data = true
              };
          }
  }
  </code></pre>
  
  <p>It's only for test purpose, its always return true.</p>
  
  <p>The problem I got is the following. I see the error message (...C) that appears for 1 second and that disapear...</p>
  
  <p>I don't know how to solve that...</p>
  
  <p>Why it appears... it's should never appear...</p>
  
  <h2>UPDATE</h2>
  
  <p>The problem only appear if I write really quickly in the textarea. If I write slowly, it's doesn't appear. My guess is that between my typing, the validation haven't no time to validated, and by default, it's show the error ?</p>
  
  <p>Anyway, I can change this behavior ?</p>