title: Disabling default alert that normally appears on submit
body: <p>I am trying to disable the default confirm box that fires onSubmit. I have been trying for a while now with no success. This is what I tried...</p>
  
  <p>My Markup</p>
  
  <pre><code>&lt;form method="post" action="special.php" id="myForm" onsubmit="return confirm('Are you sure you ready to submit this order?\n\n')"&gt; 
      //input fields
  &lt;/form&gt;
  </code></pre>
  
  <p>My JavaScript</p>
  
  <pre><code>$('.excelDL').click(function(){
         $('#myForm').trigger('submit', function(e){
              window.alert = function() {}; //overwrite default alert
              $.post('mail.php', $(this).serialize(), function (data) {})                 
              e.preventDefault();
          });         
  });
  </code></pre>