IE prompts to open or save json result from server

后端 未结 9 1231
既然无缘
既然无缘 2020-11-29 22:28

Internet explorer in compatibility mode gets the data from the server in an ajax callback method, and pops-up a dialog if I want to save the data or open. How to get rid of

9条回答
  •  借酒劲吻你
    2020-11-29 22:38

    Have you tried to send your ajax request using POST method ? You could also try to set content type to 'text/x-json' while returning result from the server.

提交回复
热议问题