我有一个KendoWindow
,可以将内容从JSP加载到iFrame中。
我已经在每个位置附加了错误处理程序,但是当JSP不可用时,这些错误处理程序都不会被调用。
将content
加载到KendoWindow中时,处理错误的正确方法是什么?
win.kendoWindow({
width : "860px",modal : true,height : "680px",iframe : true,resizable : false,content : {
url: "access/lookup/Source.jsp",failure: function(err) {
console.log(e.status);
console.log(e.xhr);
},error: function(err) {
console.log(e.status);
console.log(e.xhr);
}
},error: function(err) {
console.log(e.status);
console.log(e.xhr);
}
});