aboutsummaryrefslogtreecommitdiff
path: root/www/html/tas.js
blob: e6267683c2ecd2d62cfe353652d27a64d8a567ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function affiche_tas(){
	
	var url = "affiche-tas.py";
	
	var req = new XMLHttpRequest();
	req.open("GET", url, true);
	
	req.onreadystatechange = function(){
		if(req.readyState == 4 && req.status == 200) {
			var tab=document.getElementById("tab");
			tab.innerHTML = req.responseText;
		}
	}
	
	req.send();
}