Calling two functions in the OnClientClick event
<p>I want to check two conditions in the <code>OnClientClick</code> event of an asp.net button control. I tried this but it is only checking the first function.</p>

<pre><code>OnClientClick="javascript:shouldSubmit=true; return checkFunction1(); return checkFunction2();
</code></pre>

<p>What is the correct way  do it?</p>
