Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <title>Demo Web</title> <link href="Site.css" rel="stylesheet"> </head> <body> <nav id="nav01"></nav> <div id="main"> <h1>Customers</h1> <div id="id01"></div> <footer id="foot01"></footer> </div> <script> var xmlhttp = new XMLHttpRequest(); var url = "Customers_HTML.html"; xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { document.getElementById("id01").innerHTML = xmlhttp.responseText; } } xmlhttp.open("GET.html", url, true); xmlhttp.send(); </script> <script src="Script.js"></script> </body> <!-- Mirrored from www.w3schools.com/website/tryit.asp?filename=tryweb_demo_ajax by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:46:41 GMT --> </html>
Result:
Try it Yourself - © w3schools.com