Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:14Length:2.6 hours
Crs 84079
  • 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.