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
No comments:
Post a Comment