ayman khallel ayman khallel - 3 months ago 29
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


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