Question: Task: A simple Ajax application ( Total 1 0 marks ) The overall task is to get a general idea of how Ajax works and

Task: A simple Ajax application (Total 10 marks)
The overall task is to get a general idea of how Ajax works and modify program to incorporate
additional concepts
Step 1: (2 marks)
Copy from Canvas, into your lab07 folder on the server the various sample files from Lecture 7 which
are at the bottom of the Week 7 Lecture page. Load them into your preferred editor, and read the files
carefully, so that you get a good feel for the structure of the example, and appreciate how the html,
Javascript and PHP technologies work together. Use your browser to visit simpeajax.htm in the
get-xhr folder and run the example. The php program (XHR GET version) has a sleep statement
in it, so that the server takes time to respond. Experiment with various client interactions in the waiting
period for example, try entering different data whilst waiting for the server to respond, and see what
the eventual response is.
Examine the code in the po

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!