Today I encountered the problem of Jquery returning json data. IE browser prompted download. When the data was submitted, the returned json data was originally a json data. The test was normal in the fire arc, but IE always prompted to save it. After searching online, most of the time it said that the ContentType was set to "text/xml" I tested, and the return value was undefined.
Original return value setting: = "application/json";
Try: = "text/xml;"; failed
Later I tried it: = "text/plain;charset=UTF-8";
success!
Original return value setting: = "application/json";
Try: = "text/xml;"; failed
Later I tried it: = "text/plain;charset=UTF-8";
success!