summaryrefslogtreecommitdiff
path: root/ws2a/bugsload.js
blob: 4c8b0077598dc3babf246debf4a8ad7d4a2e51b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
function loadLastBugs() {
  var xhttp = new XMLHttpRequest();
  xhttp.onreadystatechange = function() {
    if (xhttp.readyState == 4 && xhttp.status == 200) {
     document.getElementById("bugstable").innerHTML = xhttp.responseText;
    }
  };
  xhttp.open("GET", "/cgi-bin/bugsdata.cgi", true);
  xhttp.send();
}
window.onload = loadLastBugs