87,917
社区成员
发帖
与我相关
我的任务
分享
function loadServerDoc(){
var xmldoc = new ActiveXObject("Msxml2.DOMDocument");
xmldoc.setProperty("SelectionLanguage", "XPath");
xmldoc.async = false;
xmldoc.load(getContextPath()+"/homepage/casaddress.jsp");
window.top.document.serverdoc = xmldoc;
}
function getFunctionInfo(url, functionId){
var functionInfo;
dojo.xhrPost({
url : url+"?fid=" + functionId + "&"+ escape(new Date()),
timeout : 20000,
sync : true,
handleAs : "text",
load : function (data, ioArgs){
//alert("data=" + data);
functionInfo = data;
},
error : function (err, ioArgs){
alert(err.message);
}
});
return functionInfo;
}