depot 17h34

This commit is contained in:
JunkJumper
2020-03-04 17:34:26 +01:00
committed by GitHub
parent 2d94439b83
commit 97590ec7f0
8 changed files with 154 additions and 0 deletions

18
TD4/js/main.js Normal file
View File

@ -0,0 +1,18 @@
console.log("Chargement...");
function init() {
console.log("Initialisation...");
}
function selectionRSS(site) {
document.getElementById("retour").innerHTML = "";
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
document.getElementById("retour").innerHTML = this.responseText;
}
};
console.log(site);
xhttp.open("GET", site, true);
xhttp.send();
}