Ver Mensaje Individual
  #5 (permalink)  
Antiguo 08/08/2011, 14:31
Avatar de Huacho12
Huacho12
 
Fecha de Ingreso: septiembre-2008
Ubicación: Isla Mujeres Q. Roo
Mensajes: 175
Antigüedad: 15 años, 7 meses
Puntos: 10
Respuesta: Internet Explorer v8 no realiza funcion a la primera

Hola nuevamente IsaBelm,

Acabode hacer la modificacione que me comentaste pero sigue haciendo lo mismo!! no realiza el envio a la primera!!!


Código Javascript:
Ver original
  1. function creaObjt()
  2. {
  3. var XMLHttpRequestObj = false;
  4.  
  5. /*if(window.XMLHttpRequest)
  6. {
  7.     XMLHttpRequestObj = new XMLHttpRequest();
  8.  
  9. }else if(window.ActiveXObject)
  10. {
  11.     XMLHttpRequestObj = new ActiveXObject("Microsoft.XMLHTTP");
  12. }*/
  13.  
  14. if(typeof(XMLHttpRequest) != 'undefined')
  15. {
  16.     try
  17.     {
  18.          XMLHttpRequestObj = new  XMLHttpRequest();    
  19.     }catch(e){}
  20. }else
  21. {
  22.     try
  23.     {
  24.          XMLHttpRequestObj = new ActiveXObject('Microsoft.XMLHTTP');
  25.     }catch(e)
  26.     {
  27.          XMLHttpRequestObj = new ActiveXObject('Msxml2.XMLHTTP');
  28.     }
  29. }
  30.  
  31. return XMLHttpRequestObj ;
  32. }

Cita:
function sendWithPOST(pagina, datos, obj)
{
var XMLHttpRequestObj = creaObjt();

var div = document.getElementById(obj);
.....
Saludos
__________________
Solo se... que no se nada!!! 0_o