try something like this...

$("#some_table_name").click(function() {
   $("#rs_loading").show(function() {
      someFuncTORefine();
      $("#rs_loading").hide();
   });
});

-GTG



On 8/17/07, Potluri <[EMAIL PROTECTED]> wrote:
>
>
>
> So whats the alternative for this to work... there should be definitely a
> alternative...
>
> Stephan Beal-3 wrote:
> >
> >
> > 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.
> >
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-to-show-Updating-container-tf4179621s15494.html#a12204566
> Sent from the JQuery mailing list archive at Nabble.com.
>
>

Reply via email to