Viewing HTML response from Ajax call through Chrome Developer tools? Viewing HTML response from Ajax call through Chrome Developer tools? ajax ajax

Viewing HTML response from Ajax call through Chrome Developer tools?


Nope, there is currently no way. When you goto Developer Tools > Resources > XHR Tab > And click on your resource (on the left), you see two tabs. The first one being Headers (which is raw) and Content which is raw as well.


Just for your information, while Firebug Lite does not have a NET panel, it does have a XHR watcher feature with the same look and feel of Firebug. Of course, Firebug Lite is very limited compared to Chrome Developer Tools, but for some specific tasks like CSS editing or XHR inspection, Firebug Lite does the job very well.

The current stable version shows you the HTTP headers, GET and POST variables, and the response text. But the next version 1.3.1 (which will be released soon) includes the HTML viewer, XML viewer and the handy JSON viewer (for both request and response data).

This feature will be included in the next release 1.3.1b2 (probably the last beta version for the 1.3.1 version), but if you want to see it running right now you can use the developer channel.


Yes, the easiest way is to use the Network tab in the Developer Tools.

  1. Ctrl+Shift+I to open the Developer Tools (or use the menu bar at the top: "View -> Developer -> Developer Tools")
  2. Go to "Network" tab
  3. Refresh your current page
  4. Scroll down to the Ajax call on the left and click
  5. The main menu will show several tabs (usually defaulting to Preview). Click on "Headers" and you should see the Request and Response header information.