[英]What is the meaning of 'catch(…)' with no '{…}' block following it?
[英]What is the Meaning of the Following Code?
var reqArgs = {
method :"POST",
url: "reloadOrgCodes.action?tableName="+tableName+"&columnName="+columnName,
load : function(type, data, evt) {
dojo.byId('customerdiv').innerHTML = data;
},
mimetype :"text/plain"
};
dojo.io.bind(reqArgs);
dojo.byId('customerdiv').innerHTML = "Loading....";
}
该代码使用XMLHttpRequest将POST请求发送到服务器。 请求完成后将调用load
函数。 dojo.io.bind
是一个相当古老的dojo函数。 因此,您仍在使用非常旧的Dojo版本。 尝试升级到新版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.