IE prompts to open or save json result from server

后端 未结 9 1235
既然无缘
既然无缘 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:41

    In my case, IE11 seems to behave that way when there is some JS syntax error in the console (doesn't matter where exactly) and dataType: 'json' has no effect at all.

提交回复
热议问题