+ 2
who can explain xmlhttprequest very well, I'm so much in need
XMLHTTPREQUEST solution
2 Antworten
0
its rely on ajax, you should try find the tutorial on ajax
but basicly what it does, you can call a spesific page from server inside your document. so you can manipulate the page using the data that you recieve without change/refresh the page.
this exampke is untested
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.status == 200) {
document.getElementById("result").innerHTML = xhttp.responseText;
}
};
xhttp.open("GET", "calc.php?op=add&val1=3&val2=6", true);
xhttp.send();
0
is dis abass abdulazeez