title: JQuery post callback not working
body: <p>I saw that there are multiple question on this topic, but I didn't find an answer yet.</p>
  
  <p>JS:</p>
  
  <pre><code>$("#signin-form").submit(function(){
     $.post("signin.php", {email: $("#signin_email").val(), password: $("#signin_password").val()}, function(data){
          console.log(data);
     });
  
  });
  </code></pre>
  
  <p>PHP (simplified it since it was not working):</p>
  
  <pre><code>&lt;?php
  echo "Test";
  ?&gt;
  </code></pre>
  
  <p>Result: nothing. And an "POST .../signin.php" error in firebug, that dissappears after less than a second which doesn't give me the chance to read it.</p>
  
  <p>I already tried console.log("anything") too.</p>