Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/04/2010, 14:44
Avatar de Adler
Adler
Colaborador
 
Fecha de Ingreso: diciembre-2006
Mensajes: 4.671
Antigüedad: 17 años, 4 meses
Puntos: 126
Respuesta: Ajax y vista de compatibilidad (IE)

Hola

La función getXmlHttpObject() cambila por esto

Código Javascript:
Ver original
  1. function getXmlHttpObject(){
  2. var xmlhttps = ["Msxml2.XMLHTTP","Msxml2.XMLHTTP.4.0","Msxml2.XMLH TTP.5.0","Msxml2.XMLHTTP.3.0","Microsoft.XMLHTTP"];
  3.     var xmlhttp = false;
  4.     for(var i=0 ; !xmlhttp && i<xmlhttps.length ; i++){
  5.         try{
  6.             xmlhttp = new ActiveXObject(xmlhttps[i]);   // Internet Explorer
  7.         }
  8.         catch(e) {
  9.             xmlhttp = false;
  10.         }
  11.     }
  12.     if(!xmlhttp && typeof XMLHttpRequest!='undefined') {
  13.         xmlhttp = new XMLHttpRequest();  // Firefox, Opera 8.0+, Safari
  14.     }
  15.     return xmlhttp;
  16. }

Suerte
__________________
Los formularios se envían/validan con un botón Submit
<input type="submit" value="Enviar" style="background-color:#0B5795; font:bold 10px verdana; color:#FFF;" />