You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
427 B
26 lines
427 B
<!doctype html> |
|
<html> |
|
|
|
<head> |
|
|
|
</head> |
|
|
|
<body> |
|
|
|
<p>ting</p> |
|
|
|
<script> |
|
var xhttp = new XMLHttpRequest(); |
|
xhttp.onreadystatechange = function() { |
|
if (this.readyState == 4 && this.status == 200) { |
|
// Typical action to be performed when the document is ready: |
|
document.getElementById("demo").innerHTML = xhttp.responseText; |
|
} |
|
}; |
|
xhttp.open("GET", "filename", true); |
|
xhttp.send(); |
|
</script> |
|
|
|
</body> |
|
|
|
</html>
|
|
|