Update test.html
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
<br />
|
<br />
|
||||||
<button type="button" onclick="loadHTML()">Load LinkBoard</button>
|
<button type="button" onclick="loadHTML()">Load LinkBoard</button>
|
||||||
<div id="demo"></div>
|
<div id="demo"></div>
|
||||||
|
<script id="fetchScript"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
function loadHTML() {
|
function loadHTML() {
|
||||||
@@ -28,16 +29,12 @@
|
|||||||
};
|
};
|
||||||
http.open("GET", "../rpm/linkboard.html", true);
|
http.open("GET", "../rpm/linkboard.html", true);
|
||||||
http.send();
|
http.send();
|
||||||
|
document.getElementById('fetchScript').setAttribute('src', '../app/functions.js'>;
|
||||||
}
|
}
|
||||||
function myFunction(data) {
|
function myFunction(data) {
|
||||||
document.getElementById("demo").innerHTML = data.responseText;
|
document.getElementById("demo").innerHTML = data.responseText;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script id="fetchScript"></script>
|
|
||||||
<script>
|
|
||||||
document.getElementById('fetchScript').setAttribute('src', '../app/functions.js'>;
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user