[jQuery] Concurrent Ajax request

[jQuery] Concurrent Ajax request


Hi everybody!
I'm trying to create a page that:
- refreshes every 5 seconds some part of it.
- if a button is pressed, to post data to a web service.
The problem is that the second ajax request wait until the first
finish, and doesn't run concurrently.
The code i use is this:
function SetOffertaAsta() {
    if (confirm('Sicuro?')) {
     $("div#" + divContenutorePulsanteOfferta).hide();
     ScriviMessaggio('Elaborazione offerta...');
        $.ajax({
            url: WebServicePath + 'setOffertaAsta',
            beforeSend: function () {
             IsOffering = true;
            },
            complete: function() {
             IsOffering = false;
            },
            global: false,
            success: function (xml) {
GetInfoAsta(0, false);
             OutputErrore(xml);
            },
            data: {
             IdAsta: idAsta,
             Valore: ProssimaOfferta
            },
            timeout: 15000,
            type: 'POST'
        });
    }
    return false;
}
and
function GetInfoAsta(pTimeoutServer, rilancia) {
    $.ajax({
url: WebServicePath + 'getInfoAsta',
async: true,
error: function () { RichiestaCompleta(0, null, rilancia) },
success: function (XML) { RichiestaCompleta(1, XML,
rilancia) },
data: {
IdAsta: idAsta,
Timeout: pTimeoutServer
},
timeout: 10000,
type: 'POST'
    });
}
can anybody help?
Thanks!!
Stefano