Ver Mensaje Individual
  #5 (permalink)  
Antiguo 21/08/2013, 14:39
summerblack
 
Fecha de Ingreso: diciembre-2012
Mensajes: 249
Antigüedad: 11 años, 4 meses
Puntos: 2
Respuesta: enviando contenido html por post

ps es muy raro porque me funciona en firefox mas no en chrome y necesito que tambien funcione en chrome y no se que pasa y tengo una funcion generica cross browser

Código HTML:
Ver original
  1. function Ajax(){
  2.  var xmlhttp=false;
  3.  try {
  4.   xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
  5.  } catch (e) {
  6.   try {
  7.    xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8.   } catch (E) {
  9.    xmlhttp = false;
  10.   }
  11.  }
  12.  if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
  13.  xmlhttp = new XMLHttpRequest();
  14.  }
  15.  return xmlhttp;
  16. }