Added Hello Players client-side
This commit is contained in:
parent
b847296619
commit
cc0e26e7ae
2 changed files with 7 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue