vendredi 20 juin 2014

Execute a function when the current request finished

I wish execute a javascript function after an asynchronous function finished

My code is similar to this:



Code:



function asynchronous(){
//call to asynchronous request
}

function toinvoke(){
//Validate if request of asynchronous finished
}

Thanks for help me


Aucun commentaire:

Enregistrer un commentaire