Added Hello Players client-side

This commit is contained in:
alisolarflare 2017-06-10 09:53:50 -07:00
parent b847296619
commit cc0e26e7ae
2 changed files with 7 additions and 0 deletions

View file

@ -15,6 +15,9 @@ window.onload = function(){
$.get("https://server.figytuna.com:8080/ali/hello/data", function(data){
document.getElementById('hello-data').innerHTML = data;
});
$.get("https://server.figytuna.com:8080/ali/hello/players", function(data){
document.getElementById('hello-players').innerHTML = data;
}
/*
let http = new XMLHttpRequest();

View file

@ -32,6 +32,10 @@
<td>Hello Data</td>
<td id="hello-data"></td>
</tr>
<tr>
<td>Hello Players</td>
<td id= "hello-players"></td>
</tr>
</table>
</body>
</html>