Take a look at the link option for Request.

The default is to ignore all subsequent requests until the first is complete.
http://www.mootools.net/docs/core/Request/Request

On 2012-06-04, at 7:57 AM, Lukas Oberbichler <l.oberbich...@gmail.com> wrote:

> Greetings dear readers,
> 
> I would really appreciate your help solving my problem.
> 
> I have programmed a user interface to make CRUD-operations on a database 
> (select, insert, delete, update).
> If the user edits more than one row - a "updateAll" button appears which 
> fires all "singleUpdate" events.
> 
> A singleUpdate event fires a Request.JSON call to a JSP servlet. 
> 
> The problem is, that when the "updateAll" button is clicked - all requests 
> are made simultaneous and only the last one is successfull - so I want to 
> wait till one request is made until I make another.
> 
> I have attached a exampleCode in jsfiddle to make it clear.
> 
> http://jsfiddle.net/tMhbd/9/
> 
> Thanks in advance for your help!

Reply via email to