Hi, I need to launch serveral ajax requests. For some reasons, I want do this synchroneous. That is to say that before launching an ajax request I have to know if the prior request has been finished.
The 'asynchronous : false" property of prototype's Updater object seems not work.
// A loop to launch one after each other the requests uploading elements of chunk[]
for (i = 0; i < chunks.length; i++) {
new Ajax.Updater( 'myId',
AJAX_SERVER + 'serviceName=' + sServiceName + sServiceParams,
{
evalScripts: true,
method: 'get',
asynchronous : false;
} );
}