El problema es el siguiente
Código:
cuando llamo a la funcion creaitem desdevar xmlHttp
function creaitem(){
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null){
alert("Tu navegador no soporta Ajax") ;
return;
}
var url="hola.asp"
xmlHttp.onreadystatechange=capturaitem();
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}
function capturaitem(){
if(xmlHttp.readyState==4){
document.getElementById("listado").innerHTML=xmlHttp.responseText;
}
}
Código HTML:
<input type="button" name="agregar" id="agregar" value="Agregar" onClick="creaitem()"> El explorador Internet Explorer sobre el cual debe funcionar ( no saco nada con cambiara al Firefox) me arroja el error :
linea :10
caracter :3
NO COINCIDEN LOS TIPOS
siguiendo la info mencionada el error estaria aqui , linea 10 caracter 3
Código:
el archivo hola.asp me devuelve el texto hola mundo.... xmlHttp.open("GET",url,true);
. En realidad, en la línea que dice

en esto....http://www.forosdelweb.com/images/smilies/chillando.gif
