Ver Mensaje Individual
  #4 (permalink)  
Antiguo 17/10/2006, 04:56
clinisbut
 
Fecha de Ingreso: diciembre-2004
Mensajes: 278
Antigüedad: 19 años, 6 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;
}