ayman khallel ayman khallel - 17 days ago 4
Ajax Question

How can show AJAX response as HTML page?

I am trying to upload some files to the server, but I get an error from the server. The server sends an HTML page to explain the error, the browser receives ajax response that has an error but it does not render it as HTML page, So, how can I render ajax response to show as HTML? Is there any way to show AJAX responses as HTML page?

Response in Firebug Lite

Answer

The chrome can render the AJAX response page as HTML page, So you can get that from developer tools -> the Network button -> XHR Name.

enter image description here

Comments