In my application i am using asp.net3.5,ajax.dll.
I am calling all functionalities using ajax from javascript.
Sometimes i need to get the condition results from server side, only then i will be able to pass to next condition.
for the above case, javascript passes to next condition before executing the first condition.
So i added the following code to make it work,
setTimeOut("finddefaultvideo()",1000);
.
Can anyone please help me to get rid of this issue?
One thing i understood that,it won't wait for the time until server returns the value.
any idea to overcome the above one?