Call a common function before every onclick function
<p>Current Code</p>

<pre><code>&lt;a onclick="callMe1()"&gt;Click Me&lt;/a&gt;
&lt;a onclick="callMe2()"&gt;Click Me 2&lt;/a&gt;

function callMe(){
   //anything
}

function callMe2(){
   //anything
}
</code></pre>

<p>and so on... I have hundreds of onclick event functions.</p>

<p>I want to add this function which should be called before any onclick event function.</p>

<pre><code>function callBeforeAnyOnClick(){
//This should be executed before callMe() and callMe2().
//once execution is complete, it should call a function as per onclick event,callMe() or callMe2().
}
</code></pre>

<p>Any solution? Will jquery bind work here?</p>
