Ver Mensaje Individual
Antiguo 28-abr-2008, 09:19   #3 (permalink)
monjeruiz
monjeruiz sólo puede mejorar
 
Avatar de monjeruiz
 
Fecha de Ingreso: junio-2007
Ubicación: Santiago, Chile
Mensajes: 89
Enviar un mensaje por MSN a monjeruiz
Re: no funciona en Mozilla Firefox

Código PHP:
function objetoAjax()
{
    var 
xmlhttp=false;
    try 
    {
        
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP","Msxml2.XMLHTTP.4.0","Msxml2.XMLH TTP.5.0","Msxml2.XMLHTTP.3.0");
    } 
    catch (
e
    {
        try 
        {
               
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        } 
        catch (
E
        {
            
xmlhttp false;
          }
    }
    if (!
xmlhttp && typeof XMLHttpRequest!='undefined'
    {
        
xmlhttp = new XMLHttpRequest();
    }
    return 
xmlhttp;

Este funciona bien en todo los browser

si no te carga puede ser las funciones que estas usando desde el html como por ejemplo el onchage....
__________________
[B]Ingeniero en Informatica
Jose Monje Ruiz [/b]
monjeruiz está desconectado   Responder Citando