Jquery / Js not in sync with the c# events
<p>I have a &lt; div > in my aspx page which has some notification messages (like success or error messages)</p>

<p>There is also a button which does some work on server. at the end, I am populating  a small asp:repeater inside that div, and calling a javascript function which slides down the div.</p>

<p>Theoretically, when you click the button, the repeater should be populated, and since JS is client side, after server has done all its thing, and at the end of partial postback / pageload, the js should trigger and slide the div down.</p>

<p>But in Reality the div just appears all of a sudden.. its not sliding down smoothly at all. Am I missing something?</p>

<p>the way I am calling js from c# code is like this:  </p>

<pre><code>ClientScript.RegisterStartupScript(typeof(Page), "showRQ", "&lt;script language='javascript'&gt; ShowRQ();&lt;/script&gt;");
</code></pre>

<p>and showRQ is a function with a simple definition: </p>

<pre><code>function ShowRQ() {
            $('.divRQ').slideDown();
            $('.txtExtraInfo').focus();
        }
</code></pre>

<p>the weirdest thing is, the text is not being focused too!
i added an alert just to make sure the function is being called, and it is. actually, the divRQ is set to display:none so if its visible at all, its because of the slideDown(), but its not sliding Down.. what do I need to do to make it slide down?</p>

<p>Thanks!</p>
