> Although this answer is so simple, it almost can't be the answer you are looking for:
> in the request action you can set a "tag"
> in the on completed action you can set that same "tag"..
> so in the ajax on completed with that specific "tag" - you can set the actions for what to do with the data associated with that specific ajax request..
Yeah but it gets more complicated in my case
I want a text to change to the file requested with AJAX, so if I request several files (with texts in it) it will get confused with what I mean with "GetLast" :/
What's more complicated?
Ajax on completed "tag" - set text to ajax.lastdata
Ajax on completed "othertag" - set other text to ajax.lastdata
from the manual:
The contents of the last response. This is set in the On completed trigger. If used in a different event, it contains the response of the last completed request.