8,906
社区成员
发帖
与我相关
我的任务
分享
//在Send之前Open最后调用的是这个函数,if不成立,this.xmlHttp正常,readyState=1
_p._onreadystatechange=function(){
if(this._xmlHttp&&this._xmlHttp.readyState==4){
if(this._loadCount==0){
this._loadCount++;
this._onload();
}
}
};
//Send
_p.send=function(oObject){
this._loadCount=0;
this._aborted=false;
if(!BiBrowserCheck.quirks.forbidsAcceptEncoding)this._xmlHttp.setRequestHeader("Accept-Encoding","gzip, deflate");
this._xmlHttp.send(oObject);
if(!this._async&&BiBrowserCheck.moz){
this._onload();
}
};