我的回调函数返回以下消息:'来自服务器的响应无效。'
这是我的函数,告诉我服务器响应无效:
function sampleCallBack_Error(sender, eventArgs) {
alert("ERROR LOADING INFORMATION" + eventArgs.get_message());
}
除了get_message,还可以检索哪些其他信息?
答案 0 :(得分:0)
尝试打印整个eventArgs对象,它应该包含更多有用的信息。
function sampleCallBack_Error(sender, eventArgs) {
console.log(eventArgs);
}