hey ricardo, thanks for the input. I found the error: i was actually hiding the load container somewhere else in the code. *sight*...
On Tue, Dec 30, 2008 at 5:52 AM, Ricardo Tomasi <ricardob...@gmail.com> wrote: > > I don't see any click event handlers, and from what it looks you can't > tell visually if the load() was successful because on the 2nd time the > background is already red. > > On Dec 29, 9:07 pm, "Alexandre Plennevaux" <aplennev...@gmail.com> > wrote: >> Strange... >> >> i'm loading html inside a div, and have this callback: >> >> $('#datascape').show().load('index.php?splash=labau',{}, function(html, >> result) >> { >> >> $('#datascape').css({background: 'red'}); >> >> }); >> >> yet, the callback performs only once out of 2 triggering calls. >> Firebug does log each call correctly so it seems it's a rendering >> issue, yet it happens in FF3, IE7 and chrome. >> >> Does this weirdness sound familiar to you, or any idea what's going wrong? >> >> Thanks, >> >> Alexandre