Hi All,
I have a method which calls a another method which inturns has some ajax call to the back end.
MethodB(){
MethodA()// this has some ajax functionality
setpopupposition()// wants to overwrite x,y postions after MethodA sets...X,y postion.
}
MetodhA(){
AjaxCall();
Setx Popup to x,y location
}
The problem here is MethodA sets the popup postion to a x,y location ,but i want to overwrite x,y location to a different postion after the call to MethodA.The issue i am facing here is my setpoupuppostion in MethodB is getting executed before MethodA.
I want to execute setupuppostion() inside MEthodB only after methodA completes, can you please advice me how to do that.