FREELessons: 14Length: 2.6 hours

Next lesson playing in 5 seconds

  • Overview
  • Transcript

2.2 Processing HTML Responses

In the last lesson we created our first, very simple Ajax script, and we used it to asynchronously retrieve a text file from the server and update the webpage with that file’s contents. But most of the time, what youre requesting from the server is not just a plain text file, usually you want the server to return back HTML, XML or JSON. For this lesson, let’s see how we can process HTML responses.