[jQuery] Re: .load: how to make sure ajax-loader.gif stays visible until the injected html is actually visible?

2009-07-13 Thread posh beck
On Mon, Jul 13, 2009 at 10:32 PM, jjshell wrote: > > Hi, > > In the below code, the ajax-loader disappears before the html returned > by .load is actually visible in the browser. How can I correct it? > > > $.post("registerClient.php", data, function(returned){ > $("#client").html(returned); >

[jQuery] Re: .load: how to make sure ajax-loader.gif stays visible until the injected html is actually visible?

2009-07-13 Thread MorningZ
I'd switch to the more generic $.ajax syntax, then you have more granular control over your HTML as things happen On Jul 13, 10:32 am, jjshell wrote: > Hi, > > In the below code, the ajax-loader disappears before the html returned > by .load is actually visible in the browser. How can I correc