+ 2

who can explain xmlhttprequest very well, I'm so much in need

XMLHTTPREQUEST solution

20th Oct 2018, 9:08 AM
Yung Zee
Yung Zee - avatar
2 odpowiedzi
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();
20th Oct 2018, 9:57 AM
Taste
Taste - avatar
0
is dis abass abdulazeez
20th Oct 2018, 1:11 PM
Faruq