Quantcast
Channel: Ivanti User Community : Popular Discussions - Supply Chain (formerly Wavelink)
Viewing all articles
Browse latest Browse all 7290

How to use AJAX method???

$
0
0

when I test my web page in internet explorer pocket it work well, but when i test it in terminal emulation it seems that cache memory or something like that fill out because the terminal emulation slows and then i need to restart my device.

 

This is my actual AJAX CODE

 

function xmlHttpPostGrabar(QueConsulta,Consulta){/

 

     var xmlHttpReq = false;

     var self = this;

 

     if(window.XMLHttpRequest){

          self.xmlHttpReq = new XMLHttpRequest();

     }

     else if(window.ActiveXObject){

          self.xmlHttpReq = new ActiveXObject('Microsoft.XMLHTTP');

     }

     self.xmlHttpReq.open('POST','xxxxx.php',false);

     self.xmlHttpReq.setRequestHeader('Content-Type','application/x-www-form-urlencoded');

     self.xmlHttpReq.onreadystatechange =

     function(){

          alert(self.xmlHttpReq.status+" - "+self.xmlHttpReq.readyState+" - "+self.xmlHttpReq.statusText);    

          return false;

     }

     self.xmlHttpReq.send(LlamaParametrosGrabar(Consulta));

}


Viewing all articles
Browse latest Browse all 7290

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>