title: callback not executing after Jquery serializing and $post
body: <p>Hi I was wondering whether anyone can let me now whats wrong with my code when posting data to a php script. </p>
  
  <pre><code>$('#subscribe-form').submit(function(){
  
              $.post('php/insert.php', $(this).serialize(), function(data){
              alert(data);
  
              })
  })
  </code></pre>
  
  <p>For some reason the callback is not being executed even though the data is being sent. I know this cos it inserts into the database.  Can anyone tell me where im going wrong?</p>
  
  <p>Thanks in advance</p>