Hello,
below the fragment that works fine, but nevertheless, the value of xmlhttp.status
turns out to be zero (0), and the corresponding value for xmlhttp.statusT ext is "unknown".
Does anyone know the details of ALL the statuscodes when the value for readyState is 4 (= completed).
Also, where could I have found the answer myself???
thanks,
Frens
xmlhttp.open("G ET", "test.txt",true );
xmlhttp.onready statechange=fun ction() {
if (xmlhttp.readyS tate==4) {
window.alert("S how the stuff");}
}
xmlhttp.send(nu ll)
window.alert(xm lhttp.readyStat e);
window.alert(xm lhttp.responset ext);
window.alert(xm lhttp.responseX ML);
window.alert(xm lhttp.status);
window.alert(xm lhttp.statusTex t);
below the fragment that works fine, but nevertheless, the value of xmlhttp.status
turns out to be zero (0), and the corresponding value for xmlhttp.statusT ext is "unknown".
Does anyone know the details of ALL the statuscodes when the value for readyState is 4 (= completed).
Also, where could I have found the answer myself???
thanks,
Frens
xmlhttp.open("G ET", "test.txt",true );
xmlhttp.onready statechange=fun ction() {
if (xmlhttp.readyS tate==4) {
window.alert("S how the stuff");}
}
xmlhttp.send(nu ll)
window.alert(xm lhttp.readyStat e);
window.alert(xm lhttp.responset ext);
window.alert(xm lhttp.responseX ML);
window.alert(xm lhttp.status);
window.alert(xm lhttp.statusTex t);
Comment