I have a (stupid) problem: i have the follwing short script:
$(window).load(function() {
        $("#div1").load('/xmlHttp.php?action=getLoad');
        $("#div2").load("/xmlHttp.php?action="+ $("input
[name='selectType']").val());
});

What this does: it calls the central xmlHttp url to fetch data. Simple
right? Except that the first call can stall the second? The second
call will finish only when the first is already done?

It seems that the second call waits for the first to be done? (ór its
just a widly strange coincidence that the two calls each take the
exact amount of time according to firebug)

the overall settings are as follows:
$.ajaxSetup({cache: false});

If i rearrange the first call áfter the second the results are as
expected: #div2 is filled quickly while div1 is still loading...

Is this a bug or something else?

Reply via email to