Current Code
<a onclick="callMe1()">Click Me</a>
<a onclick="callMe2()">Click Me 2</a>
function callMe(){
//anything
}
function callMe2(){
//anything
}
and so on... I have hundreds of onclick event functions.
I want to add this function which should be called before any onclick event function.
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().
}
Any solution? Will jquery bind work here?