Executing 2 functions in 1 post method
<p>I have a webpage with a registration form. In this form the POST method is calling a function to store the field data when someone press the submit button. The function name is <code>WebsiteForm_OnSubmit();</code>  </p>

<pre><code>&lt;form method="post" action="/mainpage/page2.aspx" onsubmit="javascript:return WebsiteForm_OnSubmit();" id="aspnetForm" enctype="multipart/form-data"&gt;
</code></pre>

<p>Now I have a another JS function called <code>addfielddatetocrm(this)</code>; I want to execute this action along with <code>WebsiteForm_OnSubmit();</code></p>

<p>So in summary, when someone hit Submit button both functions gets executed.</p>

<p>I know it's not possible to execute 2 actions in 1 post method.</p>

<p>So how do I do this?</p>
