title: jquery ajax call taking too long or something
body: <p>I have a form that I want to ensure the paypal email address is valid before I submit. So i am making a jquery submit call like this</p>
  
  <pre><code>        $('#new_user').submit(function(){
              $.ajax({
                  type: 'post',
                  url: "/validate_paypal",            
                  dataType: 'json',
            data: {email : $('#user_paypal_email').val()},
                success: function( data ) {
                  if (data.response["valid"] == false){
                          $('#user_paypal_email').closest('.field').addClass('fieldWithErrors');
                          $('#user_paypal_email').append('&lt;span style="color:#E77776;"&gt;This is not a valid email address&lt;/span&gt;');
                          return false;
                 }else{
                          return true;
                   }
                  }
          });
  </code></pre>
  
  <p>but the problem is this call thats a second and the page already refreshes before the ajax is complete....if I put the return false at the end of the call I can see my json is correct but for some reason the way I have it now wont finish...any ideas on how to correct this</p>