Javascript Settimeout problem
<p>In my application i am using asp.net3.5,ajax.dll.</p>

<p>I am calling all functionalities using ajax from javascript.</p>

<p>Sometimes i need to get the condition results from server side, only then i will be able to pass to next condition.</p>

<p>for the above case, javascript passes to next condition before executing the first condition.</p>

<p>So i added the following code to make it work,</p>

<p><code>setTimeOut("finddefaultvideo()",1000);</code>.</p>

<p>Can anyone please help me to get rid of this issue?</p>

<p>One thing i understood that,it won't wait for the time until server returns the value.</p>

<p>any idea to overcome the above one?</p>
