FREELessons: 14Length: 2.6 hours

Next lesson playing in 5 seconds

  • Overview
  • Transcript

3.2 Identifying & Handling the Different Responses

In the last lesson we turned our simple Ajax script in to an easy to use Ajax library. Currently, it only supports processing JSON responses, so we need to make a few changes to it in order to detect the other responses, such as plain text, HTML and XML, and handle each one accordingly.