title: Why does an alert redirect my page?
body: <p>Why does everytime I put an alert to my ajaxform the page redirects to its php script? but when I remove the alert the ajax doesn't redirect it. I don't want my page to redirect to its php script.</p>
  
  <pre><code>$(document).ready(function(){
             $("#save").click(function(){
             $("#f1").ajaxForm({
                      alert("Submit Successful!");
                      });//ajaxform
      });
  });
  </code></pre>