Update test.html

This commit is contained in:
vkservicesllc
2018-11-07 10:20:09 -05:00
committed by GitHub
parent 1b8bf255d2
commit 4ced6e9775

View File

@@ -19,7 +19,7 @@
<div id="demo"></div>
<script>
function loadHTML() {
function loadHTML() {
var http = new XMLHttpRequest();
http.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
@@ -28,14 +28,16 @@ function loadHTML() {
};
http.open("GET", "../rpm/linkboard.html", true);
http.send();
}
function myFunction(data) {
}
function myFunction(data) {
document.getElementById("demo").innerHTML = data.responseText;
document.getElementById('fetchScript').addAttribute('src', '../app/functions.js'>;
}
}
</script>
<script id="fetchScript"></script>
<script>
document.getElementById('fetchScript').addAttribute('src', '../app/functions.js'>;
</script>
</body>
</html>