OnClick event calling a js function and a callback function
<p>I have an external compiled project(asp.net) that we are using in our code. I dont have access to the code behind, just the .aspx pages.</p>

<p>One of the things Im trying to do is to call two functions from the button in the page.</p>

<pre><code>&lt;cc1:ImageButton ID="btnYes" runat="server" OnClick="btnYes_Click" Text="Yes"
                        Width="40px" SkinID="DefaultButton" /&gt;
</code></pre>

<p>Is there a way I can add a JS function and let the OnClick event call both btnYes_Click and my JS function?
something like this? <code>OnClick="btnYes_Click ; myfunction();"</code></p>

<p>I dont have any access to the code behind page.</p>
