crop_rotate
Run
<!DOCTYPE html> <html> <body> <h2>The XMLHttpRequest Object</h2> <div id="demo"> <p>Let AJAX change this text.</p> <button type="button" onclick="loadDoc()">Change Content</button> </div> <script> function loadDoc() { const xhttp = new XMLHttpRequest(); xhttp.onload = function() { document.getElementById("demo").innerHTML = this.responseText; } xhttp.open("GET", "/files/ajax.txt"); xhttp.send(); } </script> </body> </html>
The XMLHttpRequest Object
Let AJAX change this text.
Change Content