Ver Mensaje Individual
  #2 (permalink)  
Antiguo 01/07/2008, 08:17
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: AJAX y posicion donde mostrar la info

Prueba así tu JS:
Código:
var xmlHttp

function showPais(paisStr,filaInt)
{
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
{
alert ("Browser does not support HTTP Request")
return
}
var url="getpais.php"
url=url+"?pais="+paisStr
url=url+"&fila="+filaInt
url=url+"&sid="+Math.random()
xmlHttp.onreadystatechange= function() {
    stateChanged( filaInt );
};
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
}

function stateChanged(fila)
{
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
{
document.getElementById("txtHint".fila).innerHT ML=xmlHttp.responseText
}
}
Saludos.