人员管理模块:浏览器兼容问题解决:
//判断浏览器类型
if(!!window.ActiveXObject || "ActiveXObject" in window) {
//ie浏览器执行
var oBao = new ActiveXObject("Microsoft.XMLHTTP");
oBao.open("POST","user.do?method=CheckUser&loginid=" + thisForm.loginid.value,false);
oBao.send();
}else {
//谷歌浏览器
var oBao = new XMLHttpRequest("Microsoft.XMLHTTP");
oBao.open("POST","user.do?method=CheckUser&loginid=" + thisForm.loginid.value,false);
oBao.send();
}