On Aug 17, 6:36 pm, Potluri <[EMAIL PROTECTED]> wrote:
> function()
> {
> $("#rs_loading").show();
>
> someFuncTORefine();
> $("#rs_loading").hide();
> }
...
> I dont know where it's breaking it rs_loading container is shown after the
> someFuncTORefine() is executed. So it appears once the refinement function
> is done  but not exactly when the click is made. I spent lot of time on this
> figuring out whats going wrong. Can Any one help me out plz...

If i'm not mistaken this happens because your browser is not
guaranteed to update any UI elements while a script is actually
running. Most (all?) browsers will freeze the UI while a script is
running and avoid making updates to it (there are several technical
reasons for this). Once your script stops running, THEN the UI is
given a chance to refresh.


Reply via email to