Slide 2
Slide 2 text
THE (REAL) PROBLEM
Write a function that sends a POST request to the server with some
form data:
- If it has changed, allow the user to move on.
- If it has not changed, show an error to the user.
const settings = { method: …, data: … };
netQuery.ajax(url, settings)
.done(allowTheUserToMoveOn)
.fail(showAnErrorToTheUser);