Question: Problem 2) For this problem we want you to replace all the jQuery code in the submit-button and keyboard event handlers in canvasWithTimer.js. This will

 Problem 2) For this problem we want you to replace allthe jQuery code in the submit-button and keyboard event handlers in canvasWithTimer.js.

Problem 2) For this problem we want you to replace all the jQuery code in the submit-button and keyboard event handlers in canvasWithTimer.js. This will involve making AJAX HTTP POST requests using javascript's native xMLHttpRequest objects instead of jQuery's $.post ) method. These are described both in the supplied AJAX Requests article and in the W3 Schools AJAX reference. (Note the article also desribes even newer approaches using the .then () promises syntax but we will not use them here. We will study javascript promises later in the course.) After completing this you should be able to make AJAX POST requests without using jQuery

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!