כן הוא מוגדר
היא הפונקציה
קוד:
function ajaxf(){
var ajaxreader;
try{
ajaxreader=new XMLHttpRequest();
}catch(e){
try{
ajaxreader=new ActiveXObject("Msxml2.XMLHTTP");
}catch(e){
try{
ajaxreader=new ActiveXObject("Microsoft.XMLHTTP");
}catch(e){
alert("problum");
return false;
}
}
}
return ajaxreader;
}
ajaxreader=ajaxf();
דר"א בדקתי את זה בשני מחשבים שונים