Question: [6 marks] An update button on a webpage is used to check for new data from a database. When the button is clicked the text

 [6 marks] An update button on a webpage is used to

[6 marks] An update button on a webpage is used to check for new data from a database. When the button is clicked the text beside the button is updated to show the time and date of the last record inserted in to the database. This activity is done asynchronously using AJAX. What is the order of execution of the following items in an AJAX asynchronous process call to a server? (you only need to provide the letters in your answer) a. Event listener is registered b. Execution of call-back function c. Execution of event handler function d. Query issued to database server to retrieve the 'last record added' data e. User clicks on check status button f. Time and Date updated on the webpage g. Last record inserted data returns from server h. Status check request sent to the server i. Status check request received by the server

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 Databases Questions!