I am not so strong in javascript.
I have a common function that I call from many parts of my code passing them some parameters.
Can somebody help me on
It is actually quite simple.
function callback() { alert("I am in the callback!"); } function work(func) { alert("I am calling the callback!"); func(); } work(callback);