Ajax structure is like:
In your app add:
Ajax -> submit post
set adres to the page that will give you results when you called it, much like traditional web forms. (tag: requestpage)
The web server will handle the request like a re3gular webform, process it, and reply with an appropiate page.
The content of this reply page is relayed back to your application.
In your application, you add event:
Ajax, on request complete " requestpage "
The action after this event will hold the variable AJAX.LAstData, which will be the content of the relayed reply page.