nbsp; * Function: Send the request
* urlPar: request''s url path
* [methodPar]:request''s method
* [domPar]: request''s result is dom or string
*/
this.doSendResuest=function(urlPar,methodPar,obj,domPar,asyPar){
if(obj._error){
return;
}
methodPar=((methodPar)?methodPar:"GET");
asyPar=((asyPar)?asyPar:true);
this._domResult=(domPar)?domPar:obj._domResult;
try{
var a=this._getRequestObj();
a.onreadystatechange=function(){
if(obj._error){
return;
}
var readyStateTmp=a.readyState;
if(readyStateTmp==0){
obj._setMessage("未初始化!");
}else if(readyStateTmp==1){
obj._setMessage("正在读取中......");
}else if(readyStateTmp==2){
obj._setMessage("已经读取过!");
}else if(readyStateTmp==3){