Jquery Form
插件,使用
ajaxSubmit
提交表单,后台返回
JSON
字符串时,
IE
报错,其他浏览器正常。
解决方法:
将后台代码
response.setContentType(“text/json”);
改为
response.setContentType(“text/html”);
转载于:https://my.oschina.net/laiwanshan/blog/176831