Delete test.html
This commit is contained in:
@@ -1,40 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Cache-Control" content="must-revalidate, no-store, no-cache">
|
|
||||||
<title>Test Document</title>
|
|
||||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
|
|
||||||
<link rel="stylesheet" type="text/css" href="../app/stylesheet.css">
|
|
||||||
<style>
|
|
||||||
#demo {
|
|
||||||
width: 1200px;
|
|
||||||
height: 100%;
|
|
||||||
margin: 9px auto;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<br />
|
|
||||||
<button type="button" onclick="loadHTML()">Load LinkBoard</button>
|
|
||||||
<div id="demo"></div>
|
|
||||||
<script id="fetchScript"></script>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
function loadHTML() {
|
|
||||||
var http = new XMLHttpRequest();
|
|
||||||
http.onreadystatechange = function() {
|
|
||||||
if (this.readyState == 4 && this.status == 200) {
|
|
||||||
myFunction(this);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
http.open("GET", "../rpm/linkboard.html", true);
|
|
||||||
http.send();
|
|
||||||
document.getElementById('fetchScript').setAttribute('src', '../app/functions.js'>;
|
|
||||||
}
|
|
||||||
function myFunction(data) {
|
|
||||||
document.getElementById("demo").innerHTML = data.responseText;
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
Reference in New Issue
Block a user