Load data work fine in Firefox but not work in IE, Chrome and IE

I try to make async: false, type="POST" and dataType="html", but it still not work in Chrome and IE.

I declare in my index jsp, but its not show up when use chrome and IE. var containerEmail = $("#dataEmailObj"); and handsontableEmail = containerEmail.data('handsontable');

And use alert(res.data) in function(res), it still show the data i want. The problem is sometime it not show up on screen, sometime it show

Here is codes:

handsontableEmail = containerEmail.data('handsontable');
    $.ajax({
        url : "load-EmailConfig",
        dataType : 'json',
        contentType : 'application/json; charset=utf-8',
        type : 'GET',
        success : function(res) {
            handsontableEmail.loadData(res.data);
        },
        error : function() {
            alert("Could_not_load_data");
        }
    });
链接地址: http://www.djcxy.com/p/17340.html

上一篇: Java中的native关键字是什么?

下一篇: 加载数据在Firefox中正常工作,但无法在IE,Chrome和IE中使用