O
OraWiz
Hi !
I have a problem using XMLHttpRequest (AJAX impl).
I am getting the cached data all the time.
heres the code.
function loadDoc( url )
{
// branch for native XMLHttpRequest object
if (window.XMLHttpRequest) {
req = new XMLHttpRequest();
req.onreadystatechange = processReqChange;
req.open("GET", url, true);
req.send(null);
// branch for IE/Windows ActiveX version
} else if (window.ActiveXObject) {
req = new ActiveXObject("Microsoft.XMLHTTP");
if (req) {
req.onreadystatechange = processReqChange;
req.open("GET", url, true);
req.send();
}
}
}
NOTE : the url I'm requesting is not under my control.
Njoy....
I have a problem using XMLHttpRequest (AJAX impl).
I am getting the cached data all the time.
heres the code.
function loadDoc( url )
{
// branch for native XMLHttpRequest object
if (window.XMLHttpRequest) {
req = new XMLHttpRequest();
req.onreadystatechange = processReqChange;
req.open("GET", url, true);
req.send(null);
// branch for IE/Windows ActiveX version
} else if (window.ActiveXObject) {
req = new ActiveXObject("Microsoft.XMLHTTP");
if (req) {
req.onreadystatechange = processReqChange;
req.open("GET", url, true);
req.send();
}
}
}
NOTE : the url I'm requesting is not under my control.
Njoy....