title: Using return true or return false on a link with target blank in jQuery
body: <p>I have a form that has <code>target="_blank"</code>on submit.  </p>
  
  <p>I want to validate the form however, prior to it launching the new window.  I could use window.open instead, but then it can be blocked by popup blockers.</p>
  
  <p>The problem I'm having is the validation uses ajax and the time it takes to get the response for return false, is too long and it opens the new window.</p>
  
  <pre><code> $('.submit').click(function(){
          $.post("/ajax/save/", { state: $('.state_field').val() },
              function(data) {
                  if(data == 'false'){
                      alert('invalid state');
                                      return false;
                  }else{
  
                      return true;
                  }
              }
          );
    });
  </code></pre>
  
  <p>Would anyone have suggestions as how I can workaround this?</p>
  
  <p>Thank you!</p>