I am sending data from one ASP.NET page to another through a jQuery ajax call in JSON form.
I simulate a situation where an error occurs when calling ajax. I get a response message in case of an error, and I need to assign this html to an element on the page.
Here is what I get in the message: 
I have a javascript msg variable that when viewed through the Chrome debugger shows me that it contains the information I need in a responseText .
How do I get the responseText value to display on the page?
javascript jquery
Maxim V. Pavlov
source share