I have code:
$(Page).on('click', '*', function(e)
{
myFunction();
}
function myFunction(){//do something...}
I would like the code in the function to be done only once, now when I click, for example, 5 times, the code from the function myFunction()
will be executed 5 times. I don't want to change on('click', '*', ...