blob: 05468dc643e0c4d32444ff7bf81ccb7393341791 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
const endpoint = "http://127.0.0.1:8080/endpoints"
console.log("hello");
document.getElementById("docset-example-parent").onclick = function(){
document.getElementById("docset-page").src = "https://example.com";
}
let xhttp = new XMLHttpRequest();
xhttp.open("GET", endpoint + "/get_plist.py");
xhttp.onload = function(){
console.log(this.response);
}
xhttp.send();
|