我有以下 ajax 帖子:
$.ajax({
    type: "POST",
    url: "http://sampleurl",
    data: {
        'email':$('#email').val(),
        'password':$('#password').val(),
    },
    cache: false,
    async: false,
    crossDomain: "true",
    beforeSend: function() { },
    complete: function() { },
    success: function(resp) {
        alert(resp);
        var result = $.parseJSON(resp);
        if (result.result == "Success") {   
            alert(emailID,password);
        }
        else {
            alert(result.msg);
        }
    },
    error: function(request, status, error) {
        //$("#LoadingImage").hide();
        alert("Result = " + error);
    }
});
return false;
});
它返回此错误:NETWORK_ERR: XMLHttpRequest Exception 101在 android 平板电脑上。
我已经阅读了一堆关于此错误的 SO 帖子,大多数建议我设置async为true. 这确实删除了错误消息 - 但它仍然是一个错误,我从来没有得到有效的数据。它似乎只是删除了无用的错误消息。
请帮我。