i have this simple load
request:
$('#test').load('/sidebar/test/format/html').css("display","block");
the issue is that chrome is showing the request has 1.2 sec blooking.
i'm thinking of using $.when
:
var test = $('#test');
$.when(test.load('/sidebar/test/format/html')).done(function(){
test.css("display","block");
});
but this doesn't seem to work.
any ideas?