[jQuery] load() callback only performs once every two click
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