title: A form's "action" and "onsubmit": Which executes first?
body: <p>I'm trying to debug a webpage and I see a form element whose opening is</p>
  
  <pre><code>&lt;form name="aspnetForm" method="post" action="default.aspx" onsubmit="javascript:return WebForm_OnSubmit();" id="aspnetForm"&gt;
  </code></pre>
  
  <p>Having only a base knowledge of web <code>form</code>s, I'm wondering what the order of execution is for the <code>action</code> and <code>onsubmit</code>. </p>