I would like to understand how I can do to send and get informations from the server using AJAX. I don't need to make any changes on server hosted files. I also don't need to register anything in the database.
What I need:
1_ send the question number and answer that the user has chosen (e.g. user_id=1 / question_id=1)
2_ get the information about the next action (e.g. show video_id)
3_ send information when the video ends (go to question_id 2)
I'm using the action AJAX - Request URL to get data and it works. I'm also using the action AJAX - Post to URL to send the information and I'm getting error through the event "tag" error > set text to "Failed".
I really appreciate an example showing this procedures working or even a simulation.
Thanks in advance.