Jquery Ajax在Internet Explorer中不起作用

当我在Internet Explorer 9上使用jQuery ajax时,我在响应主体处获取数据但是它没有传递给成功函数.我怎样才能使它工作?

例:

...
    $.ajax({
        async : false,type: 'PUT',contentType: 'application/json',url: updateUrl,data: JSON.stringify(model),dataType: 'json',success: function(data) {
            console.log("Here!");//it comes here
            console.log(data);//it logs undefine at ie,firefox and etc is logging data
            r = resultResponse(data);
        },error: function(data) {
            try {
                r = error($.parseJSON(data.responseText));
            } catch (err) {
                //Handle error
            }
        }
    });
...

我调试了网络,看到响应正文是:

{"message":"Connection is successful","status":"success"}

但是,Internet Explorer的成功功能未定义数据.

有任何想法吗?

PS 1:奇怪的是,当我从服务器发送数据而没有设置响应头的内容类型时,它有效吗?

PS 2:我的回复标题如下:

Key Value
Response    HTTP/1.1 200 OK
Server  Apache-Coyote/1.1
Content-Type    application/json;charset=UTF8
transfer-encoding   chunked
Date    Thu,02 Aug 2012 15:50:44 GMT
最佳答案
输出中可以看出,我的字符集是UTF8而不是UTF-8.问题是在服务器端.

相关文章

页面搜索关键词突出 // 页面搜索关键词突出 $(function () {...
jQuery实时显示日期、时间 html: <span id=&quot...
jQuery 添加水印 <script src="../../../.....
中文:Sys.WebForms.PageRequestManagerParserErrorExceptio...
1. 用Response.Write方法 代码如下: Response.Write(&q...
Jquery实现按钮点击遮罩加载,处理完后恢复 思路: 1.点击按...