im working on an upload script. im sending data with a method and im getting answer from another method. Example:
var a =new function(){
this.start = function(x,y,callback){
this.finish = callback; /*php calls a.finish(someparams,moreparams)*/
}
}
i want execute another function when a.finish executed. is that possible? Thanks for help.