Well yeah, that will not work..
How to make a request:
The basic usage of the AJAX object consists of:
- Use the Request action to load a URL.
- A moment later after the request completes, On completed triggers.
- The LastData expression can be used to access the content of the response.
There's an event "Ajax on completed", which will trigger when the request is completed..
Before the request is completed, you won't be able to use the ajax.lastdata..