submit event not firing after blur event triggers javascript confirmation
<p>I have a simple form, where on blur event of textfield I am showing a confirm message to the user, which simply auto populates another hidden textfield. Which works good so far. The problem happens when the user directly clicks the submit button instead of clicking another field or anywhere else on the form. This should trigger both the blur and submit events, but for some reason the blur triggers, the confirmation comes up, and once the user clicks on the confirmation, submit event isn't triggered. User is forced to click submit again to trigger submit event. Any ideas?</p>

<pre><code>$(function(){
   $("#txt_fld1").blur(function(){
      if(confirm("Auto calculate charge?"))
      {
         $("#txt_chrg").val("8.25");
      }
   });
   $("form").submit(function(){
      alert("SUBMITTING");
   });
})
</code></pre>
