![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
17/10/2006, 04:56
|
| | Fecha de Ingreso: diciembre-2004
Mensajes: 278
Antigüedad: 20 años, 2 meses Puntos: 0 | |
Luego incluyo ajax.js
Código:
function nuevoAjax()
{
var xmlhttp=false;
try
{ xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e)
{ try
{ xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
catch (E)
{ xmlhttp = false;
}
}
if (!xmlhttp && typeof XMLHttpRequest!='undefined')
{ xmlhttp = new XMLHttpRequest();
}
return xmlhttp;
}
|