I have function which executes in global scope. I want to call this function inside another function.
$(function myFunction(){
//does something
});
I want to call this function inside below jquery function
$("#button").click(function(){
//does something
myFunction(); //calling the above function
});
thank you