f

 用于FireFox
ff:

function init_xml_http() 

       
var A=null
    
try 
   

     A
=new ActiveXObject("Msxml2.XMLHTTP"); 
   }
 
   
catch(e) 
  

    
try 
   

     A
=new ActiveXObject("Microsoft.XMLHTTP"); 
   }
 
   
catch(oc) 
   

    A
=null 
    }
 
  }
 
  
if ( !&& typeof XMLHttpRequest != "undefined" ) 
  

   A
=new XMLHttpRequest() 
  }
 
  
return A 
}
 


  var A=null;
 A=new XMLHttpRequest();//不是XMLHttp

posted on 2007-11-02 17:57  simhare  阅读(104)  评论(0)    收藏  举报

导航