Skip to content
JackSparrow414

Asynchronous Web Interactions with Ajax

Two study notes on asynchronous interactions with Ajax.

2 posts · In reading order

  1. Getting Started with Ajax in Web Applications (Part 1)

    Using search suggestions as an example, this article explains how Ajax communicates with a server without reloading the page. It introduces common jQuery request options and traces XMLHttpRequest creation, request sending, and response-state handling.

  2. Learning About Asynchronous Ajax Requests in Web Applications (Part 2)

    A troubleshooting account of an Ajax request that returns a successful HTTP status but enters the error callback. It uses response details to identify a JSON parsing problem and checks @ResponseBody, then covers a case where code reads variables before an asynchronous request finishes and gets undefined.