Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/08/2006, 18:58
Avatar de MaBoRaK
MaBoRaK
 
Fecha de Ingreso: abril-2003
Ubicación: La Paz - Bolivia
Mensajes: 2.003
Antigüedad: 23 años, 6 meses
Puntos: 35
loading.............



Pues no veo donde inicias el objeto MLHttpRequestObject3 con xmlhttprequest

osea
Código PHP:
xmlhttp=function() {
        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();
        }
        if(!
xmlhttp)
        {
            
alert("Su navegador no soporta AJAX");
        }
        return 
xmlhttp;
    } 
Código PHP:
function mostrarTitulo(valores){

var 
url = "ajax/calendario_titulo_ajax.php";
XMLHttpRequestObject3=xmlhttp();
if(
XMLHttpRequestObject3) {
XMLHttpRequestObject3.open("POST", url, true); 
XMLHttpRequestObject3.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); 
XMLHttpRequestObject3.onreadystatechange = function() 
{ 
if (
XMLHttpRequestObject3.readyState == 4 && XMLHttpRequestObject3.status == 200) {
document.getElementById("fechaCalendario").innerHTML = XMLHttpRequestObject3.responseText;
} 
}
XMLHttpRequestObject3.send(valores);
}
} 



connection closed.
__________________

Maborak Technologies