The real test of strength

This commit is contained in:
alisolarflare 2017-06-01 05:21:45 -04:00
parent 8f8bf381ab
commit 8037c123b9
3 changed files with 25 additions and 0 deletions

4
jquery-3.2.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -3,6 +3,11 @@
<head>
<meta charset="utf-8">
<title>Developer's Sandbox</title>
<script
src="http://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous">
</script>
<script src="./sandbox/helloajax.js" type="text/javascript">
</script>
@ -13,5 +18,11 @@
<a href="./sandbox.html">Sandbox</a>
</nav>
<h1>Developer's Sandbox</h1>
<h2>ATOM Live Server Stuff</h2>
<p id="atom-players"></p>
<h2>ButtonPresents Stuff</h2>
<p id="button-hello"></p>
</body>
</html>

View file

@ -3,7 +3,16 @@ https://www.youtube.com/watch?v=h0ZUpPiV1ac
*/
window.onload = function(){
$.get("./data/players.json", function(data){
console.log(data);
document.getElementById('atom-players').innerHTML = JSON.stringify(data);
});
$.get("http://server.figytuna.com:8080/ali", function(data){
console.log(data);
document.getElementById('button-hello').innerHTML = data;
});
/*
let http = new XMLHttpRequest();
http.onreadystatechange = function(){
@ -21,6 +30,7 @@ window.onload = function(){
const isASYNC = true;
http.open(method, filepath, isASYNC);
http.send();
*/
}