I have two functions
function1()
{
//...
}
in function1 i make ajax requests and load an image
there is another function - function2 where i call function1 to load an image.
now, what is the question.
How can i stop propagation of function1 before i will call it again in function2?
function2()
{
// ...
// how stop old propogation of function1 here?
function1(); //call function1 again
}
Thanks