help me understand JS execution on onclick event of button
<pre><code>&lt;input type="button" name="reset"
       onclick="return ValidateValue(); __doPostBack('ApplyBtn','')" /&gt;
</code></pre>

<p>The above is the code generated for asp server button button control on browser.</p>

<p>Now my query is that irrespective of <code>ValidateValue()</code> returning true/false <code>__doPostBack('ApplyBtn','')</code> function is not showing any effect for me. </p>

<p>My understanding is that string passed to onclick acts like function body, and <code>return</code> will from first function will return control preventing second function from execution.
Is that correct ?</p>

<p>Please provide helpful inputs.</p>
